* Sync with changed substitute mechanism.

* Accept the NarHash line.
* Clear substitutes in `nix-channel --update'.
This commit is contained in:
Eelco Dolstra 2004-12-20 14:57:03 +00:00
parent 96c3d8a615
commit 7eed57e784
3 changed files with 11 additions and 6 deletions

View file

@ -49,7 +49,9 @@ finalPath=$(@bindir@/nix-store -qnB --force-realise $storeExpr)
if ! test -n "$QUIET"; then echo "path is $finalPath" >&2; fi
rm -rf $tmpPath1 $tmpPath2 || true
if test -n "$tmpPath1" -o -n "$tmpPath2"; then
rm -rf $tmpPath1 $tmpPath2 || true
fi
echo $hash