mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
Resolve old TODO
This commit is contained in:
parent
2c8def626f
commit
49021900e6
1 changed files with 1 additions and 10 deletions
|
|
@ -2,23 +2,14 @@
|
||||||
makeSetupHook,
|
makeSetupHook,
|
||||||
gnupg,
|
gnupg,
|
||||||
sops,
|
sops,
|
||||||
lib,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
# FIXME: drop after 23.05
|
|
||||||
propagatedBuildInputs =
|
|
||||||
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.05") then
|
|
||||||
"deps"
|
|
||||||
else
|
|
||||||
"propagatedBuildInputs";
|
|
||||||
in
|
|
||||||
(makeSetupHook {
|
(makeSetupHook {
|
||||||
name = "sops-pgp-hook";
|
name = "sops-pgp-hook";
|
||||||
substitutions = {
|
substitutions = {
|
||||||
gpg = "${gnupg}/bin/gpg";
|
gpg = "${gnupg}/bin/gpg";
|
||||||
};
|
};
|
||||||
${propagatedBuildInputs} = [
|
propagatedBuildInputs = [
|
||||||
sops
|
sops
|
||||||
gnupg
|
gnupg
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue