1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(packages): reorganize nix-git

This commit is contained in:
Kierán Meinhardt
2020-04-09 18:15:41 +02:00
parent 8890b30e5f
commit d118ce65b7
3 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +0,0 @@
{ writeShellScriptBin, nix-prefetch-git, jq }:
writeShellScriptBin "nix-git" ''
${nix-prefetch-git}/bin/nix-prefetch-git "$@" 2> /dev/null | ${jq}/bin/jq -r '"rev = \"\(.rev)\";\nsha256 = \"\(.sha256)\";"'
''