mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 13:04:17 +03:00
nix: update linux-aarch64 overlay to exclude macos m1
This commit is contained in:
parent
e8879fb5ab
commit
39bf78c223
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user