Skip to content

Commit

Permalink
nix: enable build-use-sandbox for Android
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sokołowski <jakub@status.im>
  • Loading branch information
jakubgs committed Jul 29, 2020
1 parent 86700f2 commit 0be5f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/nix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ max-jobs = auto
# Helps avoid removing currently used dependencies via garbage collection
keep-derivations = true
keep-outputs = true
# Extra isolation for network and filesystem, doesn't work on MacOS
build-use-sandbox = false
1 change: 1 addition & 0 deletions scripts/release-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if [[ "$(uname -s)" =~ Darwin ]]; then
)
else
nixOpts+=(
"--option" "build-use-sandbox" "true"
"--option" "extra-sandbox-paths" "${KEYSTORE_PATH} ${SECRETS_FILE_PATH}"
)
fi
Expand Down

0 comments on commit 0be5f5d

Please sign in to comment.