From b8f0231f35f0e82c6d196b5cbdbeab3bd463bb93 Mon Sep 17 00:00:00 2001 From: Yash Tiwari Date: Sat, 18 Feb 2023 13:34:44 +0530 Subject: 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 --- nongnu/packages/linux.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index f82be7d..8f9ae13 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -47,7 +47,7 @@ "/linux/kernel/v" (version-major version) ".x" "/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. ;; Throw it all out when we manage kernel hashes. @@ -78,7 +78,8 @@ #:source (origin (method url-fetch) (uri url) - (hash hash)))) + (hash hash)) + #:configs configs)) (version version) (home-page "https://www.kernel.org/") (synopsis "Linux kernel with nonfree binary blobs included") -- cgit v1.2.3