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
No EOL
142 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-prefetch-git
URL=$1
WRITE_PATH=$2
nix-prefetch-git $3 $URL | grep -v "Git " > $WRITE_PATH