mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: commencement: Build fix for python-boot0 on the Hurd.
Unlike during a non-chroot'ed build on Debian/Hurd, there is no /usr/include. * gnu/packages/commencement.scm (python-boot0)[arguments]: When building on the Hurd, add `fix-regen' stage to correct a reference to "/usr".
This commit is contained in:
parent
189bfb555d
commit
1c5063af86
1 changed files with 9 additions and 1 deletions
|
@ -3217,7 +3217,15 @@ (define python-boot0
|
|||
;; built, since it requires Linux headers.
|
||||
(("'linux', ") ""))
|
||||
#t))
|
||||
(delete 'set-TZDIR)))
|
||||
(delete 'set-TZDIR)
|
||||
,@(if (hurd-system?)
|
||||
`((add-before 'build 'fix-regen
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((libc (assoc-ref inputs "libc")))
|
||||
(substitute* "Lib/plat-generic/regen"
|
||||
(("/usr/include/") (string-append libc "/include/")))
|
||||
#t))))
|
||||
'())))
|
||||
((#:tests? _ #f) #f))))))
|
||||
|
||||
(define/system-dependent ld-wrapper-boot0
|
||||
|
|
Loading…
Reference in a new issue