Jakub Sokołowski 625866e50b
nix: upgrade Go 1.14 to 1.16, gomobile to 2021-02-20
With upgrade to Go above `1.15` and Gomobile we now drop support for darwin/arm32 builds.
This means all devices like iPhone 5 or older.

For more details see:
https://tip.golang.org/doc/go1.15#darwin

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-20 11:17:45 +02:00

23 lines
560 B
Nix

{ callPackage
, meta, source
, goBuildFlags
, goBuildLdFlags }:
{
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;
};
ios = callPackage ./build.nix {
platform = "ios";
# amd64 is for ios simulator
architectures = [ "arm64" "amd64" ];
outputFileName = "Statusgo.framework";
inherit meta source goBuildFlags goBuildLdFlags;
};
}