This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/scripts/update-git.sh

6 lines
142 B
Bash
Raw Permalink 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