From 6541673354f28b1375bef503373ee2169e1dc325 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Tue, 7 Nov 2017 18:14:32 +0100 Subject: gnu: linux: Fix kconfig selection. * gnu/packages/linux.scm (make-linux-libre): When cross-compiling, "kconfig" field is in native-inputs variable. So config is always #f when cross-compiling linux. --- gnu/packages/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2e185e8574..010475a7da 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -319,7 +319,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (setenv "EXTRA_VERSION" ,extra-version) (let ((build (assoc-ref %standard-phases 'build)) - (config (assoc-ref inputs "kconfig"))) + (config (assoc-ref (or native-inputs inputs) "kconfig"))) ;; Use a custom kernel configuration file or a default ;; configuration file. -- cgit v1.2.3