mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
darwin fixes
This commit is contained in:
parent
ca550a4c65
commit
3095053dd4
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, makeWrapper, gnupg, coreutils, utillinux, nettools }:
|
||||
{ stdenv, makeWrapper, gnupg, coreutils, utillinux, unixtools }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "sops-init-gpg-key";
|
||||
|
@ -11,8 +11,8 @@ 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 nettools
|
||||
]}
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath ([
|
||||
coreutils utillinux gnupg
|
||||
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ unixtools.hostname ])}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue