Do not use old way of setting url
and rev
This was breaking `nix-prefetch-git --url smth --ref smth` (when expected hash is not specified)
This commit is contained in:
parent
c1c74e45c5
commit
ba766ebcf4
@ -1,8 +1,8 @@
|
|||||||
#! /bin/sh -e
|
#! /bin/sh -e
|
||||||
|
|
||||||
url=$1
|
url=
|
||||||
rev=$2
|
rev=
|
||||||
expHash=$3
|
expHash=
|
||||||
hashType=$NIX_HASH_ALGO
|
hashType=$NIX_HASH_ALGO
|
||||||
deepClone=$NIX_PREFETCH_GIT_DEEP_CLONE
|
deepClone=$NIX_PREFETCH_GIT_DEEP_CLONE
|
||||||
leaveDotGit=$NIX_PREFETCH_GIT_LEAVE_DOT_GIT
|
leaveDotGit=$NIX_PREFETCH_GIT_LEAVE_DOT_GIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user