Apply the BLST symbol declaration fix to Darwin builds

This commit is contained in:
Moritz Angermann committed 2026-10-15 17:45:13 +09:00
1 parent 8f13410c5e
commit ea8f7c5ff2
1 file changed
+6
+6
View File
@@ -92,6 +92,12 @@
}
)
({ pkgs, lib, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
# GHC's Mach-O loader rejects BLST's redundant COMMON declarations
# alongside the C definition during Template Haskell loading.
packages.simplexmq.patches = [ ./scripts/nix/simplexmq-blst-darwin-extern.patch ];
})
({ pkgs, lib, ...}: lib.mkIf (!pkgs.stdenv.hostPlatform.isWindows) {
# This patch adds `dl` as an extra-library to direct-sqlciper, which is needed
# on pretty much all unix platforms, but then blows up on windows m(