Migrate packages to use callPackage pattern
All checks were successful
CI / build (push) Successful in 2m46s

This commit is contained in:
Fabian Hauser 2024-10-19 19:40:58 +03:00
parent 478b8903e0
commit 15ece3585e
11 changed files with 92 additions and 62 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 {} \;
'';
}