mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
pigz: fix cross
This commit is contained in:
parent
90fa183b9c
commit
2b9caf8896
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [zlib] ++ stdenv.lib.optional stdenv.isLinux utillinux;
|
||||
|
||||
makeFlags = [ "CC=cc" ];
|
||||
makeFlags = [ "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
doCheck = stdenv.isLinux;
|
||||
checkTarget = "tests";
|
||||
|
Loading…
Reference in New Issue
Block a user