bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52282: linux modules does not support inferior kernel


From: Maxime Devos
Subject: bug#52282: linux modules does not support inferior kernel
Date: Sat, 04 Dec 2021 20:19:53 +0000
User-agent: Evolution 3.38.3-1

Oleg Pykhalov schreef op za 04-12-2021 om 22:25 [+0300]:
> Hi Guix,
> 
> I cannot build a system after adding '(kernel-loadable-modules (list
> vendor-reset-linux-module))' to the Guix system config. [...]

Are you using a linux module package with #:linux some-linux-via-an-
inferior? If so, the likely cause is this code from (guix build-system
linux-module):

(define* (lower [...])
  [...]
  ,@(package-native-inputs linux)
  [...])

Currently, inferior packages aren't packages, so this fails with

In procedure %package-native-inputs-real: Wrong type argument:
> #<inferior-package linux@5.14.15 7fc8055619f0>

The solution would be to use inferior-package-native-inputs when linux
is an inferior package. (Search for inferior-package? in the source
code.)

Greetings,
Maxime






reply via email to

[Prev in Thread] Current Thread [Next in Thread]