lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix building on darwin (#408251)

This commit is contained in:
Aleksana
2025-05-22 19:27:12 +08:00
committed by GitHub
@@ -254,7 +254,10 @@ stdenv.mkDerivation (finalAttrs: {
# Enable LTO, since it improves eval performance a fair amount
# LTO is disabled on:
# - static builds (strange linkage errors)
(lib.mesonBool "b_lto" (!stdenv.hostPlatform.isStatic && (isLLVMOnly || stdenv.cc.isGNU)))
# - darwin builds (install test failures. see fj#568 & fj#832)
(lib.mesonBool "b_lto" (
!stdenv.hostPlatform.isStatic && !stdenv.hostPlatform.isDarwin && (isLLVMOnly || stdenv.cc.isGNU)
))
(lib.mesonEnable "gc" true)
(lib.mesonBool "enable-tests" true)
(lib.mesonBool "enable-docs" enableDocumentation)