about summary refs log tree commit diff
path: root/pkgs/tools/archivers/zpaq
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/zpaq')
-rw-r--r--pkgs/tools/archivers/zpaq/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/zpaq/default.nix b/pkgs/tools/archivers/zpaq/default.nix
index 6a03b825e902..791c4fd14f3a 100644
--- a/pkgs/tools/archivers/zpaq/default.nix
+++ b/pkgs/tools/archivers/zpaq/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ perl /* for pod2man */ ];
 
   CPPFLAGS = [ "-Dunix" ] ++
-    lib.optional (!stdenv.isi686 && !stdenv.isx86_64) "-DNOJIT";
+    lib.optional (!stdenv.hostPlatform.isi686 && !stdenv.hostPlatform.isx86_64) "-DNOJIT";
   CXXFLAGS = [ "-O3" "-DNDEBUG" ];
 
   enableParallelBuilding = true;