forked from mirrors/nixpkgs
7 lines
173 B
Bash
7 lines
173 B
Bash
#! @shell@ -e
|
|
|
|
chrootenvDest=/run/chrootenv/@name@
|
|
|
|
# Unmount all (r)bind mounts
|
|
umount -l $chrootenvDest/{dev/pts,dev/shm,dev,nix/store,proc,sys,host-etc,home,var,tmp,run}
|