rust: Use unmount-environment

This commit is contained in:
Davie Li 2024-02-07 18:37:55 +01:00
parent 625ce83c94
commit 5af14d7504
Signed by: davie
GPG key ID: 29FD88532FC91BF4

2
env/rust.scm vendored
View file

@ -190,7 +190,7 @@ function."
#:home (overlay-mount-merged mnt)
#:mappings mappings)
(sync)
(system* "umount" target)
(unmount-environment env)
(with-directory-excursion (overlay-mount-upper mnt)
(for-each (λ (f)
(unless (member f controlled-files)