guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 7c49576e7e15f8ce168d4a7f0020eb895d86baac
Author: Yelninei <[email protected]>
AuthorDate: Sun Aug 23 16:38:04 2026 +0000

    gnu: glibc: Fix cross build.
    
    * gnu/packages/base.scm (glibc): Also search for mach headers when cross 
building.
---
 gnu/packages/base.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index a1c91e6fe56..37b5338411c 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -999,7 +999,7 @@ the store.")
                 (match-lambda
                   ((label . input)
                    (and (directory-exists?
-                         (string-append input "/include/" #$(if (system-hurd?)
+                         (string-append input "/include/" #$(if (target-hurd?)
                                                                 "mach"
                                                                 "linux")))
                         ;; Ensure we're not refering to another libc.

Reply via email to