mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
echidna: fix build on aarch64-darwin
This commit is contained in:
parent
2fcf19c7fc
commit
cb10e91077
@ -1,4 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchpatch,
|
||||
mkDerivation,
|
||||
@ -7,7 +8,7 @@
|
||||
slither-analyzer,
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
mkDerivation (rec {
|
||||
pname = "echidna";
|
||||
version = "2.2.3";
|
||||
|
||||
@ -106,4 +107,12 @@ mkDerivation rec {
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "echidna-test";
|
||||
}
|
||||
|
||||
} // lib.optionalAttrs (stdenv.isDarwin && stdenv.isAarch64) {
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/304352
|
||||
postInstall = with haskellPackages; ''
|
||||
remove-references-to -t ${warp.out} "$out/bin/echidna"
|
||||
remove-references-to -t ${wreq.out} "$out/bin/echidna"
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user