Remove long-obsolete /nix/var/nix/chroots directory
This commit is contained in:
parent
21573af9fb
commit
c13cede19d
@ -342,8 +342,7 @@ in
|
|||||||
/nix/var/nix/profiles \
|
/nix/var/nix/profiles \
|
||||||
/nix/var/nix/db \
|
/nix/var/nix/db \
|
||||||
/nix/var/log/nix/drvs \
|
/nix/var/log/nix/drvs \
|
||||||
/nix/var/nix/channel-cache \
|
/nix/var/nix/channel-cache
|
||||||
/nix/var/nix/chroots
|
|
||||||
mkdir -m 1777 -p \
|
mkdir -m 1777 -p \
|
||||||
/nix/var/nix/gcroots/per-user \
|
/nix/var/nix/gcroots/per-user \
|
||||||
/nix/var/nix/profiles/per-user \
|
/nix/var/nix/profiles/per-user \
|
||||||
|
@ -104,12 +104,6 @@ if test -n "@cleanTmpDir@"; then
|
|||||||
echo " done"
|
echo " done"
|
||||||
fi
|
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.
|
# Also get rid of temporary GC roots.
|
||||||
rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
|
rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
|
||||||
|
Loading…
x
Reference in New Issue
Block a user