GNU bug report logs -
#35963
[PATCH] gnu: cross-base: Allow non-default linux-headers.
Previous Next
Reported by: Carl Dong <contact <at> carldong.me>
Date: Tue, 28 May 2019 15:59:02 UTC
Severity: normal
Tags: patch
Done: Danny Milosavljevic <dannym <at> scratchpost.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35963 in the body.
You can then email your comments to 35963 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#35963
; Package
guix-patches
.
(Tue, 28 May 2019 15:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Carl Dong <contact <at> carldong.me>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 28 May 2019 15:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/cross-base.scm (cross-kernel-headers): Add
'linux-headers' optional argument to specify using a non-default
linux-kernel package.
---
gnu/packages/cross-base.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index b3b90a6490..a0341ebc5d 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -39,7 +39,8 @@
#:export (cross-binutils
cross-libc
cross-gcc
- cross-newlib?))
+ cross-newlib?
+ cross-kernel-headers))
(define-syntax %xgcc
;; GCC package used as the basis for cross-compilation. It doesn't have to
@@ -276,18 +277,19 @@ target that libc."
(define* (cross-kernel-headers target
#:optional
+ (linux-headers linux-libre-headers)
(xgcc (cross-gcc target))
(xbinutils (cross-binutils target)))
"Return headers depending on TARGET."
(define xlinux-headers
- (package (inherit linux-libre-headers)
- (name (string-append (package-name linux-libre-headers)
+ (package (inherit linux-headers)
+ (name (string-append (package-name linux-headers)
"-cross-" target))
(arguments
(substitute-keyword-arguments
`(#:implicit-cross-inputs? #f
- ,@(package-arguments linux-libre-headers))
+ ,@(package-arguments linux-headers))
((#:phases phases)
`(alist-replace
'build
@@ -300,7 +302,7 @@ target that libc."
,phases))))
(native-inputs `(("cross-gcc" ,xgcc)
("cross-binutils" ,xbinutils)
- ,@(package-native-inputs linux-libre-headers)))))
+ ,@(package-native-inputs linux-headers)))))
(define xgnumach-headers
(package (inherit gnumach-headers)
--
2.21.0
Reply sent
to
Danny Milosavljevic <dannym <at> scratchpost.org>
:
You have taken responsibility.
(Wed, 29 May 2019 13:47:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Carl Dong <contact <at> carldong.me>
:
bug acknowledged by developer.
(Wed, 29 May 2019 13:47:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 35963-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks!
Pushed to guix master as commit 2ea77d48a739eb289f2472d2c30c37a30bbcb571.
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 27 Jun 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.