guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/07: environment: Honor ‘-s’ for guile-for-build.


From: guix-commits
Subject: 02/07: environment: Honor ‘-s’ for guile-for-build.
Date: Fri, 27 Oct 2023 19:35:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b3ec2a0d37b6494b04f38e20fc7ce450afb36d1d
Author: Ludovic Courtès <ludo@gnu.org>
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 <zimon.toutoune@gmail.com>
    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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]