mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: make-linux-libre: Only use configuration-file when one is provided.
* gnu/packages/linux.scm (make-linux-libre): Only use configuration-file when one is provided.
This commit is contained in:
parent
995e5092d8
commit
0b75986983
1 changed files with 7 additions and 8 deletions
|
@ -236,14 +236,13 @@ (define* (make-linux-libre version hash supported-systems
|
|||
("bc" ,bc)
|
||||
("openssl" ,openssl)
|
||||
("kmod" ,kmod)
|
||||
,@(let ((conf (configuration-file
|
||||
(system->linux-architecture
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
#:variant (version-major+minor version))))
|
||||
(if conf
|
||||
`(("kconfig" ,conf))
|
||||
'()))))
|
||||
,@(if configuration-file
|
||||
`(("kconfig" ,(configuration-file
|
||||
(system->linux-architecture
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
#:variant (version-major+minor version))))
|
||||
'())))
|
||||
(arguments
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
(guix build utils)
|
||||
|
|
Loading…
Reference in a new issue