nix-packages/scripts/update-git.sh

6 lines
142 B
Bash
Raw Normal View History

2022-09-25 13:06:44 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git
URL=$1
WRITE_PATH=$2
2022-09-25 14:46:19 +00:00
nix-prefetch-git $3 $URL | grep -v "Git " > $WRITE_PATH