nix: fix ios sim builds, build for amd64 instead 386

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-05-05 10:03:43 +02:00
parent cdad34ed3d
commit aa9b7cc848
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
{
android = callPackage ./build.nix {
platform = "android";
# 386 is for android simulator
architectures = [ "arm" "arm64" "386" ];
outputFileName = "status-go-${source.shortRev}.aar";
inherit meta source goBuildFlags goBuildLdFlags;
@ -13,7 +14,8 @@
ios = callPackage ./build.nix {
platform = "ios";
architectures = [ "arm" "arm64" "386" ];
# amd64 is for ios simulator
architectures = [ "arm" "arm64" "amd64" ];
outputFileName = "Statusgo.framework";
inherit meta source goBuildFlags goBuildLdFlags;
};