about summary refs log tree commit diff
path: root/pkgs/tools/security/softhsm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/softhsm/default.nix')
-rw-r--r--pkgs/tools/security/softhsm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/softhsm/default.nix b/pkgs/tools/security/softhsm/default.nix
index e4c428b90b9a..d755e131d8f0 100644
--- a/pkgs/tools/security/softhsm/default.nix
+++ b/pkgs/tools/security/softhsm/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
   ];
 
   propagatedBuildInputs =
-    lib.optionals stdenv.isDarwin [ libobjc Security ];
+    lib.optionals stdenv.hostPlatform.isDarwin [ libobjc Security ];
 
   buildInputs = [ botan2 sqlite ];