bitcoin: fix darwin builds

Bitcoin Core requires a MACOSX_DEPLOYMENT_TARGET of 10.13. The current
default MACOSX_DEPLOYMENT_TARGET is 10.12.
This commit is contained in:
0xb10c 2023-12-07 16:20:18 +01:00
parent e816589ee3
commit 330b00b103
No known key found for this signature in database
GPG key ID: E2FFD5B1D88CA97D

View file

@ -72,6 +72,10 @@ stdenv.mkDerivation rec {
install -Dm644 share/pixmaps/bitcoin256.png $out/share/pixmaps/bitcoin.png
'';
preConfigure = lib.optionalString stdenv.isDarwin ''
export MACOSX_DEPLOYMENT_TARGET=10.13
'';
configureFlags = [
"--with-boost-libdir=${boost.out}/lib"
"--disable-bench"