guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 768e154b25fe84d8b0a85f4e18993410cedab14e
Author: Dariqq <[email protected]>
AuthorDate: Sat Jul 19 07:19:37 2025 +0000

    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 d11a5d8e18..b84a77c0f5 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="

Reply via email to