all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67284] [PATCH] guix: meson: Add #:substitutable? argument to build system.
@ 2023-11-19 17:14 Skyler Ferris via Guix-patches via
  2023-11-25 16:31 ` bug#67284: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Skyler Ferris via Guix-patches via @ 2023-11-19 17:14 UTC (permalink / raw)
  To: 67284; +Cc: Skyler Ferris

This implemented the same as in gnu-build-system. The gexp->derivation
calls did not need to be modified because they already
passed #:substitutable?, which did not cause an error due to the
procedure exported by the (guix store) module with the same name.

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

Change-Id: I2d56c8130f785a2d6af456ef9f9bfc1b10dc2a50
---
 guix/build-system/meson.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/build-system/meson.scm b/guix/build-system/meson.scm
index 7c617bffb0..2d14016b94 100644
--- a/guix/build-system/meson.scm
+++ b/guix/build-system/meson.scm
@@ -182,6 +182,7 @@ (define* (meson-build name inputs
                       (imported-modules %meson-build-system-modules)
                       (modules '((guix build meson-build-system)
                                  (guix build utils)))
+                      (substitutable? #t)
                       allowed-references
                       disallowed-references)
   "Build SOURCE using MESON, and with INPUTS, assuming that SOURCE
@@ -266,6 +267,7 @@ (define* (meson-cross-build name
                             (imported-modules %meson-build-system-modules)
                             (modules '((guix build meson-build-system)
                                        (guix build utils)))
+                            (substitutable? #t)
                             allowed-references
                             disallowed-references)
   "Cross-build SOURCE for TARGET using MESON, and with INPUTS, assuming that

base-commit: cd82ddd15c28b4f4690255b11a1ce6dcac7c166d
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67284: [PATCH] guix: meson: Add #:substitutable? argument to build system.
  2023-11-19 17:14 [bug#67284] [PATCH] guix: meson: Add #:substitutable? argument to build system Skyler Ferris via Guix-patches via
@ 2023-11-25 16:31 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-11-25 16:31 UTC (permalink / raw)
  To: Skyler Ferris; +Cc: 67284-done

Skyler Ferris <skyvine@protonmail.com> skribis:

> This implemented the same as in gnu-build-system. The gexp->derivation
> calls did not need to be modified because they already
> passed #:substitutable?, which did not cause an error due to the
> procedure exported by the (guix store) module with the same name.

Heh, fun.  :-)

> * guix/build-system/meson.scm (meson-build, meson-cross-build): Add
>   #:substitutable? argument
>
> Change-Id: I2d56c8130f785a2d6af456ef9f9bfc1b10dc2a50

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-25 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-19 17:14 [bug#67284] [PATCH] guix: meson: Add #:substitutable? argument to build system Skyler Ferris via Guix-patches via
2023-11-25 16:31 ` bug#67284: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.