Archived
1
0
Fork 0

build-system/meson: Add #:substitutable? argument to build system.

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
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Skyler Ferris 2023-11-19 09:14:39 -08:00 committed by Ludovic Courtès
parent c43077076f
commit 13bc0633e7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -182,6 +182,7 @@ TRIPLET."
(imported-modules %meson-build-system-modules) (imported-modules %meson-build-system-modules)
(modules '((guix build meson-build-system) (modules '((guix build meson-build-system)
(guix build utils))) (guix build utils)))
(substitutable? #t)
allowed-references allowed-references
disallowed-references) disallowed-references)
"Build SOURCE using MESON, and with INPUTS, assuming that SOURCE "Build SOURCE using MESON, and with INPUTS, assuming that SOURCE
@ -266,6 +267,7 @@ has a 'meson.build' file."
(imported-modules %meson-build-system-modules) (imported-modules %meson-build-system-modules)
(modules '((guix build meson-build-system) (modules '((guix build meson-build-system)
(guix build utils))) (guix build utils)))
(substitutable? #t)
allowed-references allowed-references
disallowed-references) disallowed-references)
"Cross-build SOURCE for TARGET using MESON, and with INPUTS, assuming that "Cross-build SOURCE for TARGET using MESON, and with INPUTS, assuming that