~ruther/guix-local

10c517924d07f77f1a885e7ba127846c96ad2c94 — Arjan Adriaanse 6 months ago 455c657
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
1 files changed, 4 insertions(+), 1 deletions(-)

M guix/build-system/linux-module.scm
M guix/build-system/linux-module.scm => guix/build-system/linux-module.scm +4 -1
@@ 4,6 4,7 @@
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Arjan Adriaanse <arjan@adriaan.se>
;;;
;;; 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)