nix: fix conditional that selects .env.e2e for ABI=x86 builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-07-15 13:11:07 +02:00
parent 618b1f81e2
commit 9ce786c9fb
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ let
name = "status-react-build-${baseName}";
envFileName =
if (elem buildType ["release" "nightly"]) then ".env.${buildType}"
else if androidAbiInclude == "x86" then ".env.e2e"
else if (elem buildType ["pr" "manual"]) then ".env.jenkins"
if androidAbiInclude == "x86" then ".env.e2e"
else if (elem buildType ["release" "nightly"]) then ".env.${buildType}"
else if (elem buildType ["pr" "manual"]) then ".env.jenkins"
else ".env";
# There are only two types of Gradle build targets: pr and release