about summary refs log tree commit diff
path: root/pkgs/development/libraries/linenoise/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/linenoise/default.nix')
-rw-r--r--pkgs/development/libraries/linenoise/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/linenoise/default.nix b/pkgs/development/libraries/linenoise/default.nix
index a525a3da9a41..13891d08f113 100644
--- a/pkgs/development/libraries/linenoise/default.nix
+++ b/pkgs/development/libraries/linenoise/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
   };
 
   nativeBuildInputs = [ validatePkgConfig ]
-    ++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ];
 
   buildPhase = ''
     runHook preBuild