mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-12 05:07:56 +00:00
Apply the BLST symbol declaration fix to Darwin builds
This commit is contained in:
1 file changed
+6
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user