sbcl: set minimum macOS version to 10.12 on x86_64-darwin (#461787)

This commit is contained in:
Aleksana
2025-11-15 12:18:14 +00:00
committed by GitHub

View File

@@ -255,6 +255,11 @@ stdenv.mkDerivation (self: {
# Fails to find `O_LARGEFILE` otherwise.
env.NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
# Set minimum macOS version to 10.12 for x86_64-darwin to support clock_gettime()
env.SBCL_MACOSX_VERSION_MIN = lib.optionalString (
stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64
) "10.12";
buildPhase = ''
runHook preBuild