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.
wip/little-gl
sternenseemann 3 years ago
parent 15052e0c90
commit 227cfc24fe
  1. 7
      pkgs/development/haskell-modules/configuration-darwin.nix

@ -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…
Cancel
Save