about summary refs log tree commit diff
path: root/pkgs/by-name/gp/gptscript/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gp/gptscript/package.nix')
-rw-r--r--pkgs/by-name/gp/gptscript/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/gp/gptscript/package.nix b/pkgs/by-name/gp/gptscript/package.nix
index 515cb7955370..a034a08aa721 100644
--- a/pkgs/by-name/gp/gptscript/package.nix
+++ b/pkgs/by-name/gp/gptscript/package.nix
@@ -19,7 +19,7 @@ buildGoModule rec {
   vendorHash = "sha256-Kf/ckUuG+SA8WQN2MKL+Xrz91RGPuA7X2/MjryRXsts=";
 
   propagatedBuildInputs = with darwin;
-    lib.optionals stdenv.isDarwin [Security];
+    lib.optionals stdenv.hostPlatform.isDarwin [Security];
 
   ldflags = [
     "-s"