summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/environment.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index 8c0da9694e..9712389842 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -860,6 +860,11 @@ WHILE-LIST."
'())
(map file-system-mapping->bind-mount
mappings))))
+
+ ;; Trigger autoload now: the child process may lack (gnu build install)
+ ;; in its file system view.
+ (identity evaluate-populate-directive)
+
(exit/status
(call-with-container file-systems
(lambda ()