From bea992ff5e70e31de4380cdbf068787371006d60 Mon Sep 17 00:00:00 2001 From: Tomas Zaluckij Date: Fri, 17 Mar 2023 21:03:25 +0000 Subject: [PATCH] fix makeSetupHook deprecations --- pkgs/sops-import-keys-hook/default.nix | 3 ++- pkgs/sops-pgp-hook/default.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/sops-import-keys-hook/default.nix b/pkgs/sops-import-keys-hook/default.nix index 66b94aa..98ada72 100644 --- a/pkgs/sops-import-keys-hook/default.nix +++ b/pkgs/sops-import-keys-hook/default.nix @@ -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) diff --git a/pkgs/sops-pgp-hook/default.nix b/pkgs/sops-pgp-hook/default.nix index 4f7d82e..8c08850 100644 --- a/pkgs/sops-pgp-hook/default.nix +++ b/pkgs/sops-pgp-hook/default.nix @@ -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)