mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
sops-init-gpg-key: include hostname on darwin
This commit is contained in:
parent
ffc9c2c78c
commit
59e6df1acf
1 changed files with 3 additions and 3 deletions
|
|
@ -11,9 +11,9 @@ stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
install -m755 -D $src $out/bin/sops-init-gpg-key
|
||||
wrapProgram $out/bin/sops-init-gpg-key \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath ([
|
||||
coreutils utillinux gnupg
|
||||
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ unixtools.hostname ])}
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [
|
||||
coreutils utillinux gnupg unixtools.hostname
|
||||
]}
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue