diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-10-28 00:09:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-10-28 00:17:24 +0200 |
commit | b3ec2a0d37b6494b04f38e20fc7ce450afb36d1d (patch) | |
tree | c8612fefec6f39c6233b1023b405cbeca38b8949 | |
parent | 67effc1560fc175dfbcb58ef5b965b08b3942d6c (diff) |
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 <zimon.toutoune@gmail.com>
Change-Id: I9d883f1e61fac72754fdc9dee9b7c8a3dea32add
-rw-r--r-- | guix/scripts/environment.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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? |