diff options
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 981ac60dd5..8c1cbeaa65 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -236,14 +236,13 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." ("bc" ,bc) ("openssl" ,openssl) ("kmod" ,kmod) - ,@(let ((conf (configuration-file - (system->linux-architecture - (or (%current-target-system) - (%current-system))) - #:variant (version-major+minor version)))) - (if conf - `(("kconfig" ,conf)) - '())))) + ,@(if configuration-file + `(("kconfig" ,(configuration-file + (system->linux-architecture + (or (%current-target-system) + (%current-system))) + #:variant (version-major+minor version)))) + '()))) (arguments `(#:modules ((guix build gnu-build-system) (guix build utils) |