Unverified Commit 558884cb authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

[Backport release-25.05] lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix...

[Backport release-25.05] lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix building on darwin (#409726)
parents a53af795 1f9c0d8a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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)