diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-26 12:22:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-26 12:22:59 +0200 |
commit | 2262ee2c63fd92a17836ff7450623db76ed39d92 (patch) | |
tree | ae5d9a475347e1e8783918068471353a3dc0fe99 /gnu/bootloader | |
parent | d90bd5642a3663cc7d5124068fadbf8fa28b3207 (diff) | |
download | guix-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/bootloader')
0 files changed, 0 insertions, 0 deletions