diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-06-02 16:57:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-06-02 16:57:17 +0200 |
commit | 69dfdb7bd190a1562eb11555da6f556b222245d3 (patch) | |
tree | f5c880f220977bc8d37afd2a94cbab1c71e11ad2 /guix/scripts | |
parent | 7469d9c1067bdf177e30474e4b07a4cbb4a326c3 (diff) | |
download | guix-patches-69dfdb7bd190a1562eb11555da6f556b222245d3.tar guix-patches-69dfdb7bd190a1562eb11555da6f556b222245d3.tar.gz |
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'.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/environment.scm | 5 |
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 () |