Jan Nieuwenhuizen writes:

Fix for
    ./pre-inst-env guix build --target=mips64el-linux-gnuabi64 hello

attached.  Adds srfi-26 to glibc for cut.

As Andy suggested I will be factoring-out the for-each (setenv) CROSS_*
stanzas but I'm still experimenting with that, with cross-libtool and
the whole lilypond stack.

Greetings,
Jan

>From 0361374c4469b1e9b573668a6020b19e7abfbfe2 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <jann...@gnu.org>
Date: Sat, 14 May 2016 10:13:21 +0200
Subject: [PATCH] gnu: cross-base: Add srfi-26 for glibc.  Fixes glibc-based
 cross builds.

* gnu/packages/cross-base.scm (glibc): Add (srfi srfi-26) to (arguments
---
 gnu/packages/cross-base.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 73ac76a..7ed4ae4 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -323,6 +323,11 @@ XBINUTILS and the cross tool chain."
            ;; itself.
            #:implicit-cross-inputs? #f
 
+           ;; We need cut from srfi-26
+           #:modules ((guix build gnu-build-system)
+                      (guix build utils)
+                      (srfi srfi-26))
+
            ,@(package-arguments glibc))
        ((#:configure-flags flags)
         `(cons ,(string-append "--host=" target)
-- 
2.7.3

-- 
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

Reply via email to