civodul pushed a commit to branch master
in repository guix.
commit b3ec2a0d37b6494b04f38e20fc7ce450afb36d1d
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sat Oct 28 00:09:55 2023 +0200
environment: Honor ‘-s’ for guile-for-build.
Partly fixes <https://issues.guix.gnu.org/65225>.
* guix/scripts/environment.scm (guix-environment*): Pass SYSTEM to
‘package-derivation’ when defining ‘%guile-for-build’.
Reported-by: Simon Tournier <[email protected]>
Change-Id: I9d883f1e61fac72754fdc9dee9b7c8a3dea32add
---
guix/scripts/environment.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index 9712389842..61ef639b46 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -1153,7 +1153,8 @@ command-line option processing with 'parse-command-line'."
store
(if bootstrap?
%bootstrap-guile
- (default-guile))))))
+ (default-guile))
+ system))))
(run-with-store store
;; Containers need a Bourne shell at /bin/sh.
(mlet* %store-monad ((bash (environment-bash container?