Philip McGrath schreef op wo 15-06-2022 om 13:15 [-0400]:
+ ;; FIXME: This is a very ugly way to make
+ ;; #include <linux/limits.h>
+ ;; work---what is a better way?
Searching for <linux/limit.h> in the guix git checkout, I found:
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
;; users should automatically pull Linux headers as well. On GNU/Hurd,
;; libc provides <hurd.h>, which includes a bunch of Hurd and Mach headers,
;; so both should be propagated.
(propagated-inputs
(if (hurd-target?)
`(("hurd-core-headers" ,hurd-core-headers))
`(("kernel-headers" ,linux-libre-headers))))
(The hurd bit is not relevant here, and in this case I'd assume that no
propagation is required.)