mothacehe pushed a commit to branch master
in repository guix.

commit 6541673354f28b1375bef503373ee2169e1dc325
Author: Mathieu Othacehe <[email protected]>
Date:   Tue Nov 7 18:14:32 2017 +0100

    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 2e185e8..010475a 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.

Reply via email to