environment: Fix unbound-variable bug with '--symlink'.
Fixes <https://issues.guix.gnu.org/63845>. Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>. * guix/scripts/environment.scm (launch-environment/container): Reference 'evaluate-populate-directive' before calling 'call-with-container'.master
parent
7469d9c106
commit
69dfdb7bd1
|
@ -860,6 +860,11 @@ WHILE-LIST."
|
||||||
'())
|
'())
|
||||||
(map file-system-mapping->bind-mount
|
(map file-system-mapping->bind-mount
|
||||||
mappings))))
|
mappings))))
|
||||||
|
|
||||||
|
;; Trigger autoload now: the child process may lack (gnu build install)
|
||||||
|
;; in its file system view.
|
||||||
|
(identity evaluate-populate-directive)
|
||||||
|
|
||||||
(exit/status
|
(exit/status
|
||||||
(call-with-container file-systems
|
(call-with-container file-systems
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Reference in New Issue