mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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