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:
parent
e816589ee3
commit
330b00b103
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue