guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 10c517924d07f77f1a885e7ba127846c96ad2c94
Author: Arjan Adriaanse <[email protected]>
AuthorDate: Tue Sep 23 21:13:29 2025 +0200
build-system: linux-module: Preserve inputs of kernel.
Build phases that are not replaced when making the builder can depend on
these
inputs, which is the case for example with linux-libre-arm64-mnt-reform.
* guix/build-system/linux-module.scm (make-linux-module-builder): Include
inputs from inherited package.
Change-Id: I1a0377b3baea4f2f7028474e48dad0e27e6bc828
---
guix/build-system/linux-module.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/linux-module.scm
b/guix/build-system/linux-module.scm
index 8b2fbcdfc6..033087d41e 100644
--- a/guix/build-system/linux-module.scm
+++ b/guix/build-system/linux-module.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2021 Ludovic Courtès <[email protected]>
;;; Copyright © 2021 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2024 Zheng Junjie <[email protected]>
+;;; Copyright © 2025 Arjan Adriaanse <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -56,7 +57,9 @@
(inherit linux)
(name (string-append (package-name linux) "-module-builder"))
(inputs
- `(("linux" ,linux)))
+ (cons
+ `("linux" ,linux)
+ (package-inputs linux)))
(arguments
(substitute-keyword-arguments (package-arguments linux)
((#:phases phases)