summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-26 12:22:59 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-26 12:22:59 +0200
commit2262ee2c63fd92a17836ff7450623db76ed39d92 (patch)
treeae5d9a475347e1e8783918068471353a3dc0fe99 /gnu/system
parentd90bd5642a3663cc7d5124068fadbf8fa28b3207 (diff)
downloadguix-2262ee2c63fd92a17836ff7450623db76ed39d92.tar.gz
gnu: linux-libre: Do not call 'configuration-file' on non-Linux targets.
Starting from commit b55310603f0df7d5ae02d47cb8d4be58bf1d41ca, a command
like:

  guix build linux-libre -s i586-gnu -n

would crash on a wrong-type-arg error in 'kernel-config' because it was
getting #f as the 'arch' argument.  This commit fixes it.

* gnu/packages/linux.scm (make-linux-libre*)[inputs]: Check whether
'platform-linux-architecture' returns #f, as is the case for example on
i586-gnu, before calling CONFIGURATION-FILE.
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions