summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ivankov <divanorama@gmail.com>2023-05-14 14:06:29 +0200
committerDmitry Ivankov <divanorama@gmail.com>2023-05-14 14:08:03 +0200
commit480f54285885eb06a7c2c5554bbc5a0efd369ef0 (patch)
treedc937223e6d41f2027d143e5862fdd12675d9f61
parentMerge pull request #230496 from chvp/bump-xrdp (diff)
downloadnixpkgs-480f54285885eb06a7c2c5554bbc5a0efd369ef0.tar.gz
bitcoin: fix copmilation on x86_64-darwin
Bump apple sdk to 11 to get rid of errors like ``` /nix/store/k9pa9xjcv603qxmm40jc0x4a5smih5dd-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1189:83: error: expected ',' kCFURLBookmarkCreationWithSecurityScope API_AVAILABLE(macos(10.7), macCatalyst(13.0)) API_UNAVAILABLE(ios, watchos, tvos) = ( 1UL << 11 ), // Mac OS X 10.7.3 and later, include information in the bookmark data which allows the same sandboxed process to access the resource after being relaunched ``` https://hydra.nixos.org/build/219157902/nixlog/3 ZHF: #230712
-rw-r--r--pkgs/top-level/all-packages.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 853527f26080..aad8f552b7bc 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -35483,6 +35483,7 @@ with pkgs;
balanceofsatoshis = nodePackages.balanceofsatoshis;
bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin {
+ stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
boost = boost17x;
withGui = true;
inherit (darwin) autoSignDarwinBinariesHook;