nix: update linux-aarch64 overlay to exclude macos m1

This commit is contained in:
Joe Bryan 2022-11-14 22:55:47 -05:00
parent e8879fb5ab
commit 39bf78c223

View File

@ -3,8 +3,9 @@ final: prev:
let
isAarch64 = prev.stdenv.hostPlatform.isAarch64;
isDarwin = prev.stdenv.isDarwin;
in prev.lib.optionalAttrs isAarch64 {
in prev.lib.optionalAttrs (isAarch64 && !isDarwin) {
libsigsegv = prev.libsigsegv.overrideAttrs (attrs: {
preConfigure = (prev.preConfigure or "") + ''
sed -i 's/^CFG_FAULT=$/CFG_FAULT=fault-linux-arm.h/' configure