forked from lix-project/lix
build: fix on x86_64-darwin
Lix requires a non-antiquated macOS SDK, and 24.11 does not yet have a
non-antiquated one as default.
Fixes: lix-project/lix#588
Change-Id: Iad19c06d7fefe3a736cdcb39ced185e52dcfcbb8
This commit is contained in:
parent
1ecc07b781
commit
4a182d21a6
|
@ -2,6 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
stdenv,
|
||||
apple-sdk_11,
|
||||
aws-sdk-cpp,
|
||||
# If the patched version of Boehm isn't passed, then patch it based off of
|
||||
# pkgs.boehmgc. This allows `callPackage`ing this file without needing to
|
||||
|
@ -306,6 +307,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
libseccomp
|
||||
busybox-sandbox-shell
|
||||
]
|
||||
++ lib.optionals (
|
||||
stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "11.0"
|
||||
) [ apple-sdk_11 ]
|
||||
++ lib.optional internalApiDocs rapidcheck
|
||||
++ lib.optional hostPlatform.isx86_64 libcpuid
|
||||
# There have been issues building these dependencies
|
||||
|
|
Loading…
Reference in a new issue