From 10c517924d07f77f1a885e7ba127846c96ad2c94 Mon Sep 17 00:00:00 2001 From: Arjan Adriaanse Date: Tue, 23 Sep 2025 21:13:29 +0200 Subject: [PATCH] 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 8b2fbcdfc6a2f44d2a38ff55fec85c877cb1d56c..033087d41ea2040bc7f44e1166f4375b7cd9edc5 100644 --- a/guix/build-system/linux-module.scm +++ b/guix/build-system/linux-module.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Ludovic Courtès ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; 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)