diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2017-11-07 18:14:32 +0100 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2017-11-07 18:16:02 +0100 |
commit | 6541673354f28b1375bef503373ee2169e1dc325 (patch) | |
tree | 95c4186adb1f63a86e4213d9fa918c03186ce63a /gnu/packages | |
parent | b574cee361bdabf21f5506252b6a183dcfcd028d (diff) | |
download | guix-6541673354f28b1375bef503373ee2169e1dc325.tar.gz guix-6541673354f28b1375bef503373ee2169e1dc325.zip |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/linux.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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. |