about summary refs log tree commit diff
path: root/pkgs/tools/compression/pigz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/compression/pigz/default.nix')
-rw-r--r--pkgs/tools/compression/pigz/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/compression/pigz/default.nix b/pkgs/tools/compression/pigz/default.nix
index 106b14b81b64..a6eaab1a6ef2 100644
--- a/pkgs/tools/compression/pigz/default.nix
+++ b/pkgs/tools/compression/pigz/default.nix
@@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  buildInputs = [ zlib ] ++ lib.optional stdenv.isLinux util-linux;
+  buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isLinux util-linux;
 
   makeFlags = [ "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ];
 
-  doCheck = stdenv.isLinux;
+  doCheck = stdenv.hostPlatform.isLinux;
   checkTarget = "tests";
   installPhase = ''
     runHook preInstall