10 lines
212 B
Plaintext
10 lines
212 B
Plaintext
|
#!/usr/bin/env cached-nix-shell
|
||
|
#! nix-shell -p nix-prefetch-git -i bash
|
||
|
|
||
|
for repo in $@; do
|
||
|
if [[ "$repo" != https://* ]]; then
|
||
|
repo="https://github.com/$repo"
|
||
|
fi
|
||
|
nix-prefetch-git --quiet "$repo"
|
||
|
done
|