about summary refs log tree commit diff
path: root/pkgs/tools/package-management/nix-template/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/nix-template/default.nix')
-rw-r--r--pkgs/tools/package-management/nix-template/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/nix-template/default.nix b/pkgs/tools/package-management/nix-template/default.nix
index 91c1f9b26807..1d0c6f42f517 100644
--- a/pkgs/tools/package-management/nix-template/default.nix
+++ b/pkgs/tools/package-management/nix-template/default.nix
@@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
   ];
 
   buildInputs = [ openssl ]
-    ++ lib.optional stdenv.isDarwin Security;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
   # needed for nix-prefetch-url
   postInstall = ''