mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
distro: glibc: Propagate Linux headers.
* distro/base.scm (glibc): Move LINUX-HEADERS from `native-inputs' to `propagated-inputs'. Remove unnecessary `_' in /bin/pwd substitution.
This commit is contained in:
parent
a5071b990d
commit
0a3da5b7f0
1 changed files with 6 additions and 2 deletions
|
@ -1118,7 +1118,11 @@ (define-public glibc
|
||||||
(base32
|
(base32
|
||||||
"092rdm49zh6l1pqkxbcpcaawgsgzxhpf1s7wf5wi5dvc5am3dp0y"))))
|
"092rdm49zh6l1pqkxbcpcaawgsgzxhpf1s7wf5wi5dvc5am3dp0y"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs `(("linux-headers" ,linux-headers)))
|
|
||||||
|
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
|
||||||
|
;; users should automatically pull Linux headers as well.
|
||||||
|
(propagated-inputs `(("linux-headers" ,linux-headers)))
|
||||||
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:out-of-source? #t
|
`(#:out-of-source? #t
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
|
@ -1141,7 +1145,7 @@ (define-public glibc
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
;; Use `pwd', not `/bin/pwd'.
|
;; Use `pwd', not `/bin/pwd'.
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
(("/bin/pwd" _) "pwd"))
|
(("/bin/pwd") "pwd"))
|
||||||
|
|
||||||
;; Install the rpc data base file under `$out/etc/rpc'.
|
;; Install the rpc data base file under `$out/etc/rpc'.
|
||||||
;; FIXME: Use installFlags = [ "sysconfdir=$(out)/etc" ];
|
;; FIXME: Use installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||||
|
|
Loading…
Reference in a new issue