diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-17 15:23:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-17 15:36:04 +0200 |
commit | 6bfcb729268e0d20c6ae78224aef0eaad2ee2e74 (patch) | |
tree | 56f223208f4ebdae2821703eaeecd4dcbc46c5d5 /NEWS | |
parent | f5854abc881ea279c0496234037621e145831e6c (diff) | |
download | gnu-guix-6bfcb729268e0d20c6ae78224aef0eaad2ee2e74.tar gnu-guix-6bfcb729268e0d20c6ae78224aef0eaad2ee2e74.tar.gz |
gnu: u-boot: Fix target/system comparison in 'make-u-boot-package'.
Until now, running, say:
guix build -e '(@@ (gnu packages bootloaders) u-boot-a20-olinuxino-micro)' \
-s armhf-linux
on an x86_64-linux machine wouldn't have the desired effect
because (%current-system) would return "x86_64-linux" when 'same-arch?'
was evaluated. This fixes that.
* gnu/packages/bootloaders.scm (make-u-boot-package)[same-arch?]: Turn
into a thunk so that (%current-system) is evaluated in the right
context, and adjust callers. Use 'string=?' instead of 'string-prefix?'.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions