mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
haskellPackages.HTF: attempt to fix test suite on darwin
A script used at test time in HTF assumes that you have GNU coreutils installed in a manner where all executables are prefixed with a `g`. Since we use GNU coreutils in the stdenv anyways, this is not necessary and needs to be patched out.
This commit is contained in:
parent
15052e0c90
commit
227cfc24fe
@ -161,4 +161,11 @@ self: super: {
|
||||
] ++ (drv.librarySystemDepends or []);
|
||||
});
|
||||
|
||||
HTF = overrideCabal super.HTF (drv: {
|
||||
# GNU find is not prefixed in stdenv
|
||||
postPatch = ''
|
||||
substituteInPlace scripts/local-htfpp --replace "find=gfind" "find=find"
|
||||
'' + (drv.postPatch or "");
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user