From b3ec2a0d37b6494b04f38e20fc7ce450afb36d1d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 28 Oct 2023 00:09:55 +0200 Subject: environment: Honor ‘-s’ for guile-for-build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Partly fixes . * guix/scripts/environment.scm (guix-environment*): Pass SYSTEM to ‘package-derivation’ when defining ‘%guile-for-build’. Reported-by: Simon Tournier Change-Id: I9d883f1e61fac72754fdc9dee9b7c8a3dea32add --- guix/scripts/environment.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix') 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? -- cgit v1.2.3