mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 07:52:59 +03:00
15 lines
349 B
Nix
15 lines
349 B
Nix
final: prev:
|
|
|
|
let
|
|
|
|
isAarch64 = prev.stdenv.hostPlatform.isAarch64;
|
|
isDarwin = prev.stdenv.isDarwin;
|
|
|
|
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
|
|
'';
|
|
});
|
|
}
|