about summary refs log tree commit diff
path: root/pkgs/development/libraries/libspnav/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libspnav/default.nix')
-rw-r--r--pkgs/development/libraries/libspnav/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libspnav/default.nix b/pkgs/development/libraries/libspnav/default.nix
index d67b12a726b4..6a60bdb7f090 100644
--- a/pkgs/development/libraries/libspnav/default.nix
+++ b/pkgs/development/libraries/libspnav/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba";
   };
 
-  nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
   buildInputs = [ libX11 ];
 
   patches = [