mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 18:35:49 +00:00
pass IOS devine via GHC options in flake.nix (#322)
This commit is contained in:
committed by
GitHub
parent
7fafb25821
commit
f74f932dcd
@@ -121,7 +121,7 @@
|
||||
# we need threaded here, otherwise all the queing logic doesn't work properly.
|
||||
# for iOS we also use -staticlib, to get one rolled up library.
|
||||
# still needs mac2ios patching of the archives.
|
||||
ghcOptions = [ "-staticlib" "-threaded" ];
|
||||
ghcOptions = [ "-staticlib" "-threaded" "-DIOS" ];
|
||||
postInstall = ''
|
||||
${pkgs.tree}/bin/tree $out
|
||||
mkdir -p $out/_pkg
|
||||
@@ -148,7 +148,7 @@
|
||||
# we need threaded here, otherwise all the queing logic doesn't work properly.
|
||||
# for iOS we also use -staticlib, to get one rolled up library.
|
||||
# still needs mac2ios patching of the archives.
|
||||
ghcOptions = [ "-staticlib" "-threaded" ];
|
||||
ghcOptions = [ "-staticlib" "-threaded" "-DIOS" ];
|
||||
postInstall = ''
|
||||
${pkgs.tree}/bin/tree $out
|
||||
mkdir -p $out/_pkg
|
||||
|
||||
@@ -16,9 +16,6 @@ license-file: LICENSE
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
README.md
|
||||
|
||||
if (os(darwin))
|
||||
ghc-option: -DIOS
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
|
||||
Reference in New Issue
Block a user