[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/17: environment: Fix unbound-variable bug with '--symlink'.
From: |
guix-commits |
Subject: |
17/17: environment: Fix unbound-variable bug with '--symlink'. |
Date: |
Fri, 2 Jun 2023 11:24:05 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 69dfdb7bd190a1562eb11555da6f556b222245d3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jun 2 16:57:17 2023 +0200
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'.
---
guix/scripts/environment.scm | 5 +++++
1 file changed, 5 insertions(+)
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 ()
- 04/17: gnu: cpp-mustache: Update to 5.0 to fix build., (continued)
- 04/17: gnu: cpp-mustache: Update to 5.0 to fix build., guix-commits, 2023/06/02
- 10/17: tests: Check for service existence in MODIFY-SERVICES, guix-commits, 2023/06/02
- 11/17: services: Error in MODIFY-SERVICES when services don't exist, guix-commits, 2023/06/02
- 13/17: gnu: Add ocaml-parmap., guix-commits, 2023/06/02
- 14/17: gnu: Add ocaml-stdcompat., guix-commits, 2023/06/02
- 06/17: gnu: python-ipython-documentation: Remove patches., guix-commits, 2023/06/02
- 07/17: gnu: python-ipython-documentation: Update dependencies., guix-commits, 2023/06/02
- 09/17: tests: Add tests for MODIFY-SERVICES procedure, guix-commits, 2023/06/02
- 12/17: gnu: Add tmux-plugin-mem-cpu-load., guix-commits, 2023/06/02
- 15/17: gnu: Add ocaml-pyml., guix-commits, 2023/06/02
- 17/17: environment: Fix unbound-variable bug with '--symlink'.,
guix-commits <=
- 16/17: gnu: Add coccinelle., guix-commits, 2023/06/02