* Make sure that /nix/var/nix/channel-cache exists.
svn path=/nixos/trunk/; revision=9854
This commit is contained in:
parent
aeced64d0e
commit
d2377fae72
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user