about summary refs log tree commit diff
path: root/pkgs/development/libraries/qtkeychain/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/qtkeychain/default.nix')
-rw-r--r--pkgs/development/libraries/qtkeychain/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qtkeychain/default.nix b/pkgs/development/libraries/qtkeychain/default.nix
index 9007129cecf5..b6744692bbe8 100644
--- a/pkgs/development/libraries/qtkeychain/default.nix
+++ b/pkgs/development/libraries/qtkeychain/default.nix
@@ -29,12 +29,12 @@ stdenv.mkDerivation rec {
   ];
 
   nativeBuildInputs = [ cmake ]
-    ++ lib.optionals (!stdenv.isDarwin) [ pkg-config ] # for finding libsecret
+    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ] # for finding libsecret
   ;
 
-  buildInputs = lib.optionals (!stdenv.isDarwin) [ libsecret ]
+  buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ libsecret ]
     ++ [ qtbase qttools ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreFoundation
     Security
   ];