nongnu: corrupt-linux: Allow custom configs.

This allows access to the "configs" keyword argument from the 'corrupt-linux'
procedure. This simplifies creation of kernels with custom modules.

* nongnu/packages/linux.scm (corrupt-linux): Add 'configs' argument.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Yash Tiwari 2023-02-18 13:34:44 +05:30 committed by Jonathan Brielmaier
parent 110f914f81
commit b8f0231f35
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -47,7 +47,7 @@
"/linux/kernel/v" (version-major version) ".x" "/linux/kernel/v" (version-major version) ".x"
"/linux-" version ".tar.xz")) "/linux-" version ".tar.xz"))
(define* (corrupt-linux freedo #:key (name "linux")) (define* (corrupt-linux freedo #:key (name "linux") (configs '()))
;; TODO: This very directly depends on guix internals. ;; TODO: This very directly depends on guix internals.
;; Throw it all out when we manage kernel hashes. ;; Throw it all out when we manage kernel hashes.
@ -78,7 +78,8 @@
#:source (origin #:source (origin
(method url-fetch) (method url-fetch)
(uri url) (uri url)
(hash hash)))) (hash hash))
#:configs configs))
(version version) (version version)
(home-page "https://www.kernel.org/") (home-page "https://www.kernel.org/")
(synopsis "Linux kernel with nonfree binary blobs included") (synopsis "Linux kernel with nonfree binary blobs included")