diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-04-26 11:49:56 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-04-26 12:48:19 +0200 |
commit | 2b9caf8896f319ca6d4b40d1f1a7b70931bf23f1 (patch) | |
tree | af3f0da6655b030bf2346e9fcb1e57f4293e2c7f /pkgs/tools/compression | |
parent | 90fa183b9cd58cb3672be5d9a157db9c042f20ce (diff) |
pigz: fix cross
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/pigz/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/compression/pigz/default.nix b/pkgs/tools/compression/pigz/default.nix index 7d4cdc2df86d..1fabedaf62d8 100644 --- a/pkgs/tools/compression/pigz/default.nix +++ b/pkgs/tools/compression/pigz/default.nix @@ -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"; |