From 10bc563f10c68f5d25d0de948cbbb4fe4079ca15 Mon Sep 17 00:00:00 2001 From: Dariqq Date: Sat, 19 Jul 2025 07:19:37 +0000 Subject: [PATCH] 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) --- guix/build/meson-build-system.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/build/meson-build-system.scm b/guix/build/meson-build-system.scm index d11a5d8e18e..b84a77c0f59 100644 --- a/guix/build/meson-build-system.scm +++ b/guix/build/meson-build-system.scm @@ -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="