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:
Kirill Elagin 2012-06-07 17:52:38 +04:00 committed by Eelco Dolstra
parent c1c74e45c5
commit ba766ebcf4

View File

@ -1,8 +1,8 @@
#! /bin/sh -e
url=$1
rev=$2
expHash=$3
url=
rev=
expHash=
hashType=$NIX_HASH_ALGO
deepClone=$NIX_PREFETCH_GIT_DEEP_CLONE
leaveDotGit=$NIX_PREFETCH_GIT_LEAVE_DOT_GIT