mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
14 lines
297 B
Nix
14 lines
297 B
Nix
|
final: prev:
|
||
|
|
||
|
let
|
||
|
|
||
|
isAarch64 = prev.stdenv.hostPlatform.isAarch64;
|
||
|
|
||
|
in prev.lib.optionalAttrs isAarch64 {
|
||
|
libsigsegv = prev.libsigsegv.overrideAttrs (attrs: {
|
||
|
preConfigure = (old.preConfigure or "") + ''
|
||
|
sed -i 's/^CFG_FAULT=$/CFG_FAULT=fault-linux-arm.h/' configure
|
||
|
'';
|
||
|
});
|
||
|
}
|