Migrate packages to use callPackage pattern
Some checks failed
CI / build (push) Failing after 2m48s

This commit is contained in:
Fabian Hauser 2024-10-19 19:40:58 +03:00
parent 478b8903e0
commit 04f4afe125
11 changed files with 91 additions and 60 deletions

View file

@ -0,0 +1,18 @@
{
findutils,
self,
system,
writeShellApplication,
...
}:
writeShellApplication {
name = "sops-rekey";
meta.description = "Rekey all sops secrets with changed keys";
runtimeInputs = [
findutils
self.packages.${system}.sops
];
text = ''
find . -regex '.*\.sops\..*$' -type f -exec sops updatekeys {} \;
'';
}