1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

fix makeSetupHook deprecations

This commit is contained in:
Tomas Zaluckij 2023-03-17 21:03:25 +00:00 committed by GitHub
parent 9e98f7a442
commit bea992ff5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,9 @@
{ stdenv, makeSetupHook, gnupg, sops, nix }:
(makeSetupHook {
name = "sops-import-keys-hook";
substitutions = {
gpg = "${gnupg}/bin/gpg";
};
deps = [ sops gnupg ];
propagatedBuildInputs = [ sops gnupg ];
} ./sops-import-keys-hook.bash)

View file

@ -1,8 +1,9 @@
{ stdenv, makeSetupHook, gnupg, sops, nix }:
(makeSetupHook {
name = "sops-pgp-hook";
substitutions = {
gpg = "${gnupg}/bin/gpg";
};
deps = [ sops gnupg ];
propagatedBuildInputs = [ sops gnupg ];
} ./sops-pgp-hook.bash)