Subject: bug#67283: closed (Re: [bug#67283] [PATCH] guix: guile: Add #:substitutable? argument to build system.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 25 Nov 2023 15:28:01 +0000

Your bug report

#67283: [PATCH] guix: guile: Add #:substitutable? argument to build system.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67283: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67283
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#67283] [PATCH] guix: guile: Add #:substitutable? argument to build system.
From: Ludovic Courtès <[email-masked]>
To: Skyler Ferris <[email-masked]>
Cc: [email-masked]
Date: Sat, 25 Nov 2023 16:26:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Skyler Ferris <[email-masked]> skribis:

> This is implemented the same as in gnu-build-system.
>
> * guix/build-system/guile.scm (guile-build, guile-cross-build): Add
>   #:substitutable? argument
>
> Change-Id: I04babb81ff1f322833f7ff22cd7580c048b26102

Tweaked the commit log and applied it, thanks!

Subject: [PATCH] guix: guile: Add #:substitutable? argument to build system.
From: Skyler Ferris <[email-masked]>
To: [email-masked]
Cc: Skyler Ferris <[email-masked]>
Date: Sun, 19 Nov 2023 09:10:36 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

This is implemented the same as in gnu-build-system.

* guix/build-system/guile.scm (guile-build, guile-cross-build): Add
  #:substitutable? argument

Change-Id: I04babb81ff1f322833f7ff22cd7580c048b26102
---
 guix/build-system/guile.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/guix/build-system/guile.scm b/guix/build-system/guile.scm
index 1bd292e267..bd3bb1c870 100644
--- a/guix/build-system/guile.scm
+++ b/guix/build-system/guile.scm
@@ -88,7 +88,8 @@ (define* (guile-build name inputs
                       (compile-flags %compile-flags)
                       (imported-modules %guile-build-system-modules)
                       (modules '((guix build guile-build-system)
-                                 (guix build utils))))
+                                 (guix build utils)))
+                      (substitutable? #t))
   "Build SOURCE using Guile taken from the native inputs, and with INPUTS."
   (define builder
     (with-imported-modules imported-modules
@@ -114,6 +115,7 @@ (define* (guile-build name inputs
                       #:system system
                       #:target #f
                       #:graft? #f
+                      #:substitutable? substitutable?
                       #:guile-for-build guile)))
 
 (define* (guile-cross-build name
@@ -133,7 +135,8 @@ (define* (guile-cross-build name
                             (compile-flags %compile-flags)
                             (imported-modules %guile-build-system-modules)
                             (modules '((guix build guile-build-system)
-                                       (guix build utils))))
+                                       (guix build utils)))
+                            (substitutable? #t))
   (define builder
     (with-imported-modules imported-modules
       #~(begin
@@ -173,6 +176,7 @@ (define* (guile-cross-build name
                       #:system system
                       #:target target
                       #:graft? #f
+                      #:substitutable? substitutable?
                       #:guile-for-build guile)))
 
 (define guile-build-system

base-commit: cd82ddd15c28b4f4690255b11a1ce6dcac7c166d
prerequisite-patch-id: d25067ea4ec0e23744f2dca853c7e9f7b9ab4a9d
-- 
2.41.0