Hello, On Mon, Dec 18, 2017 at 1:21 PM, Marius Bakke <[email protected]> wrote: > Here is my approach: > > --8<---------------cut here---------------end--------------->8--- > (define-module (my packages) > #:use-module (gnu packages linux)) > > (define kernel-config > (string-append (dirname (current-filename)) "/kernel.config")) > > (define-public my-kernel > (package > (inherit linux-libre) > (native-inputs > `(("kconfig" ,kernel-config) > ,@(alist-delete "kconfig" > (package-native-inputs linux-libre)))))) > > (use-modules (my packages)) > (operating-system > [...] > (kernel my-kernel) > --8<---------------cut here---------------end--------------->8---
The above should be put somewhere in the doc, faq, maybe in a sample system config, or whatever. Early adopters will probably want to do just that (at least I did, when I tried GuixSD for the first time). -- Vincent Legoll
