gnugrep: disable gnulib tests on x86_64-darwin as well
This commit is contained in:
@@ -16,8 +16,10 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs=";
|
||||
};
|
||||
|
||||
# Some gnulib tests fail on Musl: https://github.com/NixOS/nixpkgs/pull/228714
|
||||
postPatch = if stdenv.hostPlatform.isMusl then ''
|
||||
# Some gnulib tests fail
|
||||
# - on Musl: https://github.com/NixOS/nixpkgs/pull/228714
|
||||
# - on x86_64-darwin: https://github.com/NixOS/nixpkgs/pull/228714#issuecomment-1576826330
|
||||
postPatch = if stdenv.hostPlatform.isMusl || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) then ''
|
||||
sed -i 's:gnulib-tests::g' Makefile.in
|
||||
'' else null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user