Remove long-obsolete /nix/var/nix/chroots directory

This commit is contained in:
Eelco Dolstra 2014-04-18 16:50:37 +02:00
parent 21573af9fb
commit c13cede19d
2 changed files with 1 additions and 8 deletions

View File

@ -342,8 +342,7 @@ in
/nix/var/nix/profiles \
/nix/var/nix/db \
/nix/var/log/nix/drvs \
/nix/var/nix/channel-cache \
/nix/var/nix/chroots
/nix/var/nix/channel-cache
mkdir -m 1777 -p \
/nix/var/nix/gcroots/per-user \
/nix/var/nix/profiles/per-user \

View File

@ -104,12 +104,6 @@ if test -n "@cleanTmpDir@"; then
echo " done"
fi
# This is a good time to clean up /nix/var/nix/chroots. Doing an `rm
# -rf' on it isn't safe in general because it can contain bind mounts
# to /nix/store and other places. But after rebooting these are all
# gone, of course.
rm -rf /nix/var/nix/chroots # recreated in activate-configuration.sh
# Also get rid of temporary GC roots.
rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots