mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: linux-libre: Avoid invalid "kconfig" input on armhf and mips64el.
This fixes a bug whereby: guix build linux-libre -s armhf-linux would fail with: guix build: error: gnu/packages/linux.scm:231:2: package `linux-libre-4.8.15' has an invalid input: ("kconfig" #f) This led 'tests/guix-system.sh' to fail. * gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Never add #f as a "kconfig" input.
This commit is contained in:
parent
62a3179395
commit
b291b3271a
1 changed files with 9 additions and 7 deletions
|
@ -242,13 +242,15 @@ (define* (make-linux-libre version hash supported-systems
|
||||||
("bc" ,bc)
|
("bc" ,bc)
|
||||||
("openssl" ,openssl)
|
("openssl" ,openssl)
|
||||||
("kmod" ,kmod)
|
("kmod" ,kmod)
|
||||||
,@(if configuration-file
|
,@(match (and configuration-file
|
||||||
`(("kconfig" ,(configuration-file
|
(configuration-file
|
||||||
(system->linux-architecture
|
(system->linux-architecture
|
||||||
(or (%current-target-system)
|
(or (%current-target-system) (%current-system)))
|
||||||
(%current-system)))
|
#:variant (version-major+minor version)))
|
||||||
#:variant (version-major+minor version))))
|
(#f ;no config for this platform
|
||||||
'())))
|
'())
|
||||||
|
((? string? config)
|
||||||
|
`(("kconfig" ,config))))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build gnu-build-system)
|
`(#:modules ((guix build gnu-build-system)
|
||||||
(guix build utils)
|
(guix build utils)
|
||||||
|
|
Loading…
Reference in a new issue