mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
Jakub Sokołowski
625866e50b
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>
23 lines
560 B
Nix
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;
|
|
};
|
|
}
|