about summary refs log tree commit diff
path: root/pkgs/tools/security/vault/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/vault/default.nix')
-rw-r--r--pkgs/tools/security/vault/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/vault/default.nix b/pkgs/tools/security/vault/default.nix
index 32ad1196edca..007edb9c6abe 100644
--- a/pkgs/tools/security/vault/default.nix
+++ b/pkgs/tools/security/vault/default.nix
@@ -35,7 +35,7 @@ buildGoModule rec {
   postInstall = ''
     echo "complete -C $out/bin/vault vault" > vault.bash
     installShellCompletion vault.bash
-  '' + lib.optionalString stdenv.isLinux ''
+  '' + lib.optionalString stdenv.hostPlatform.isLinux ''
     wrapProgram $out/bin/vault \
       --prefix PATH ${lib.makeBinPath [ gawk glibc ]}
   '';