about summary refs log tree commit diff
path: root/pkgs/development/libraries/qwt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/qwt/default.nix')
-rw-r--r--pkgs/development/libraries/qwt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qwt/default.nix b/pkgs/development/libraries/qwt/default.nix
index dec84c1c4955..814e8f0252c1 100644
--- a/pkgs/development/libraries/qwt/default.nix
+++ b/pkgs/development/libraries/qwt/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
   };
 
   propagatedBuildInputs = [ qtbase qtsvg qttools ];
-  nativeBuildInputs = [ qmake ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
+  nativeBuildInputs = [ qmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
 
   postPatch = ''
     sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri