about summary refs log tree commit diff
path: root/pkgs/tools/compression/bzip3/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/compression/bzip3/default.nix')
-rw-r--r--pkgs/tools/compression/bzip3/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/compression/bzip3/default.nix b/pkgs/tools/compression/bzip3/default.nix
index 92ddefdb8662..889f64b52d8b 100644
--- a/pkgs/tools/compression/bzip3/default.nix
+++ b/pkgs/tools/compression/bzip3/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   configureFlags = [
     "--disable-arch-native"
-  ] ++ lib.optionals stdenv.isDarwin [ "--disable-link-time-optimization" ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--disable-link-time-optimization" ];
 
   passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;