make gnupg a dependency of sops

if anything uses a gnupg key, we need the gnupg binary.
Sucks a bit, but at least it makes it work everywhere.
This commit is contained in:
Jörg Thalheim
2025-03-25 18:09:56 +01:00
parent 3a78dd6ded
commit d3a1b29c6b
2 changed files with 2 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ def sops_run(
raise ClanError(msg)
sops_cmd.append(str(secret_path))
cmd = nix_shell(["nixpkgs#sops"], sops_cmd)
cmd = nix_shell(["nixpkgs#sops", "nixpkgs#gnupg"], sops_cmd)
opts = (
dataclasses.replace(run_opts, env=environ)
if run_opts