guix: move bison from global scope, to Linux

This is only needed for the Qt build, on Linux, so does not need to be
built/present for the macOS or Windows builds.

Github-Pull: #30534
Rebased-From: e6df3485ed
This commit is contained in:
fanquake 2024-07-26 17:17:45 +01:00 committed by Luke Dashjr
parent bbbf89a9de
commit 39e09b6769

View File

@ -593,7 +593,6 @@ inspecting signatures in Mach-O binaries.")
autoconf-2.71
automake
pkg-config
bison
;; Native GCC 10 toolchain
gcc-toolchain-10
(list gcc-toolchain-10 "static")
@ -612,7 +611,8 @@ inspecting signatures in Mach-O binaries.")
nss-certs
osslsigncode))
((string-contains target "-linux-")
(list (make-bitcoin-cross-toolchain target)))
(list bison
(make-bitcoin-cross-toolchain target)))
((string-contains target "darwin")
(list clang-toolchain-10 binutils cmake-minimal xorriso python-signapple))
(else '())))))