* Make sure that /nix/var/nix/channel-cache exists.

svn path=/nixos/trunk/; revision=9854
This commit is contained in:
Eelco Dolstra 2007-12-04 12:31:00 +00:00
parent aeced64d0e
commit d2377fae72

View File

@ -34,6 +34,7 @@ if test -z "$NIXOS_NO_PULL"; then
manifests=$(nix-instantiate --eval-only --xml --strict $NIXOS -A manifests \
| grep '<string' | sed 's^.*"\(.*\)".*^\1^g')
mkdir -p /nix/var/nix/channel-cache
for i in $manifests; do
NIX_DOWNLOAD_CACHE=/nix/var/nix/channel-cache nix-pull $i || true
done