Commit 1f9c0d8a authored by Seth Flynn's avatar Seth Flynn Committed by github-actions[bot]
Browse files

lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix building on darwin

parent 031f393b
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)