mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: fix secrets permissions, move ./packages to flake outputs
This commit is contained in:
9
packages/nix-git.nix
Normal file
9
packages/nix-git.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
writers,
|
||||
nix-prefetch-git,
|
||||
jq,
|
||||
}:
|
||||
writers.writeDashBin "nix-git" ''
|
||||
${nix-prefetch-git}/bin/nix-prefetch-git "$@" 2> /dev/null \
|
||||
| ${jq}/bin/jq -r '"rev = \"\(.rev)\";\nsha256 = \"\(.sha256)\";"'
|
||||
''
|
||||
Reference in New Issue
Block a user