~ruther/guix-local

768e154b25fe84d8b0a85f4e18993410cedab14e — Dariqq 11 months ago 04886f2
build-system: meson: Set default wrap-mode to nofallback.

Fixes guix/guix#1162.

This solves two issues: Not having to wait for the network timeout (same as the
nodownload) option and also disabling meson to fall back to predownloaded
subprojects.

If desired, this behaviour can be overridden by adding --wrap-mode=MODE to #:configure-flags.

* guix/build/meson-build-system.scm (configure): Add --wrap-mode=nofallback.

Change-Id: Ibf1d6ac60a4c47cd71574a96ceb8773e6d8cf60b
(cherry picked from commit fe8dded27f15b7052a4161be4690f6d943b93aff)
1 files changed, 1 insertions(+), 0 deletions(-)

M guix/build/meson-build-system.scm
M guix/build/meson-build-system.scm => guix/build/meson-build-system.scm +1 -0
@@ 64,6 64,7 @@
                                            includedir "/include"))
                       '())
                 ,(string-append "--buildtype=" build-type)
                 "--wrap-mode=nofallback"
                 ,(string-append "-Dc_link_args=-Wl,-rpath="
                                 (assoc-ref outputs "out") "/lib")
                 ,(string-append "-Dcpp_link_args=-Wl,-rpath="