hash check removed because the nix system does it..
svn path=/nixpkgs/trunk/; revision=9279
This commit is contained in:
parent
40b90b4ccd
commit
de2c320294
@ -9,14 +9,8 @@ fi
|
|||||||
|
|
||||||
header "getting $url ${tagtext}into $out"
|
header "getting $url ${tagtext}into $out"
|
||||||
|
|
||||||
darcs get --no-pristine-tree $tagflags "$url" "$out"
|
darcs get --no-pristine-tree --partial $tagflags "$url" "$out"
|
||||||
# remove metadata, because it can change
|
# remove metadata, because it can change
|
||||||
rm -rf "$out/_darcs"
|
rm -rf "$out/_darcs"
|
||||||
|
|
||||||
actual=$(nix-hash $out)
|
|
||||||
if test "$actual" != "$outputHash"; then
|
|
||||||
echo "hash is $actual, expected $outputHash" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
stopNest
|
stopNest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user