about summary refs log tree commit diff
path: root/pkgs/tools/compression/lrzip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/compression/lrzip/default.nix')
-rw-r--r--pkgs/tools/compression/lrzip/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/compression/lrzip/default.nix b/pkgs/tools/compression/lrzip/default.nix
index f485bab4a749..eab035f06204 100644
--- a/pkgs/tools/compression/lrzip/default.nix
+++ b/pkgs/tools/compression/lrzip/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-Mb324ojtLV0S10KhL7Vjf3DhSOtCy1pFMTzvLkTnpXM=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Building the ASM/x86 directory creates an empty archive,
     # which fails on darwin, so remove it
     # https://github.com/ckolivas/lrzip/issues/193