vault, vault-bin: fix build for darwin
Closes #129443 (cherry picked from commit e0cda3708af3a38397f4f0f1c3d8a3fbad222c48)
This commit is contained in:
committed by
github-actions[bot]
parent
ca137ac841
commit
8cee48a0b2
@@ -40,10 +40,10 @@ in stdenv.mkDerivation {
|
||||
mkdir -p $out/bin $out/share/bash-completion/completions
|
||||
mv vault $out/bin
|
||||
echo "complete -C $out/bin/vault vault" > $out/share/bash-completion/completions/vault
|
||||
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
wrapProgram $out/bin/vault \
|
||||
--prefix PATH ${lib.makeBinPath [ gawk glibc ]}
|
||||
|
||||
'' + ''
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user