gnu: u-boot-pine64-plus: Fix building on aarch64-linux.

* gnu/packages/bootloaders.scm (u-boot-sunxi64-packages)[arguments]:
Also search in inputs for input files.

Change-Id: Ibc0f6b0dfff5eb7c561b7361dcf0eac1839fad87
This commit is contained in:
Efraim Flashner 2024-03-28 17:39:42 +02:00
parent d616e85ac8
commit daab3da504
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6,7 +6,7 @@
;;; Copyright © 2016-2018, 2021-2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
;;; Copyright © 2017, 2018, 2020-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 20182022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 nee <nee@cock.li>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
@ -1130,7 +1130,7 @@ (define*-public (make-u-boot-sunxi64-package board triplet scp-firmware
(add-after 'unpack 'set-environment
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(setenv "SCP" (search-input-file
native-inputs "libexec/scp.bin"))
(or native-inputs inputs) "libexec/scp.bin"))
(setenv "BL31" (search-input-file inputs "bl31.bin"))))))))
(native-inputs
(modify-inputs (package-native-inputs base)