From d97a7fb325b1f64b624f97a50b48781066969edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 20 Sep 2022 12:09:52 +0200 Subject: [PATCH] nix: drop KEYSTORE_PATH from extra-sandbox-paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is no longer necessary as we sign APKs in a separate step using the `scripts/sign-android.sh` script, and this causes issues for F-Droid builds. Signed-off-by: Jakub SokoĊ‚owski --- scripts/build-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-android.sh b/scripts/build-android.sh index 35e1d9a2c9..a98afb9bc3 100755 --- a/scripts/build-android.sh +++ b/scripts/build-android.sh @@ -45,9 +45,9 @@ if [[ -n "${OPENSEA_API_KEY}" ]]; then append_env_export 'OPENSEA_API_KEY'; fi # If no secrets were passed there's no need to pass the 'secretsFile'. if [[ -s "${SECRETS_FILE_PATH}" ]]; then + nixOpts+=("--option" "extra-sandbox-paths" "${SECRETS_FILE_PATH}") nixOpts+=("--argstr" "secretsFile" "${SECRETS_FILE_PATH}") fi -nixOpts+=("--option" "extra-sandbox-paths" "${KEYSTORE_PATH} ${SECRETS_FILE_PATH}") # Used by Clojure at compile time to include JS modules nixOpts+=("--argstr" "buildEnv" "$(must_get_env BUILD_ENV)")