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".master
parent
189bfb555d
commit
1c5063af86
|
@ -3217,7 +3217,15 @@ memoized as a function of '%current-system'."
|
|||
;; 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
|
||||
|
|
Reference in New Issue