about summary refs log tree commit diff
path: root/pkgs/by-name/aw/aws-vault/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/aw/aws-vault/package.nix')
-rw-r--r--pkgs/by-name/aw/aws-vault/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/aw/aws-vault/package.nix b/pkgs/by-name/aw/aws-vault/package.nix
index e503848f10b2..a99ed43ea7c0 100644
--- a/pkgs/by-name/aw/aws-vault/package.nix
+++ b/pkgs/by-name/aw/aws-vault/package.nix
@@ -24,7 +24,7 @@ buildGoModule rec {
   postInstall = ''
     # make xdg-open overrideable at runtime
     # aws-vault uses https://github.com/skratchdot/open-golang/blob/master/open/open.go to open links
-    ${lib.optionalString (!stdenv.isDarwin) "wrapProgram $out/bin/aws-vault --suffix PATH : ${lib.makeBinPath [ xdg-utils ]}"}
+    ${lib.optionalString (!stdenv.hostPlatform.isDarwin) "wrapProgram $out/bin/aws-vault --suffix PATH : ${lib.makeBinPath [ xdg-utils ]}"}
     installShellCompletion --cmd aws-vault \
       --bash $src/contrib/completions/bash/aws-vault.bash \
       --fish $src/contrib/completions/fish/aws-vault.fish \