guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 27/33: gnu: commencement: glibc-intermediate: Build fixes for the Hu


From: Jan Nieuwenhuizen
Subject: Re: 27/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd.
Date: Tue, 10 Mar 2020 13:45:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Ludovic Courtès writes:

>> +                   ,@(if (hurd-system?)
>> +                         `(map
>> +                           (lambda (f)
>> +                            (substitute* f
>
> ‘substitute*’ accepts a list of files, so you can write it like this:
>
>   (substitute* '("sysdeps/mach/hurd/Makefile" "sysdeps/mach/Makefile")
>     …)

Ah nice.  Looking closer I see now that this also avoided rebuilds and
conveniently splices returns a list -- changed to

                   ;; Tell 'libpthread' where to find 'libihash' on Hurd 
systems.
                   ,(when (hurd-system?)
                      '(substitute* '("sysdeps/mach/Makefile"

suffering a rebuild now anyway.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]