about summary refs log tree commit diff
path: root/pkgs/development/tools/gptcommit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/gptcommit/default.nix')
-rw-r--r--pkgs/development/tools/gptcommit/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/gptcommit/default.nix b/pkgs/development/tools/gptcommit/default.nix
index f1bd3376e160..2c97533a2696 100644
--- a/pkgs/development/tools/gptcommit/default.nix
+++ b/pkgs/development/tools/gptcommit/default.nix
@@ -30,8 +30,8 @@ rustPlatform.buildRustPackage {
   # 0.5.6 release has failing tests
   doCheck = false;
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]
-    ++ lib.optionals stdenv.isLinux [ openssl ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]
+    ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
 
   passthru = {
     updateScript = nix-update-script { };