nix: enable build-use-sandbox for Android
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
86700f2b5c
commit
0be5f5d8d0
|
@ -9,3 +9,5 @@ max-jobs = auto
|
||||||
# Helps avoid removing currently used dependencies via garbage collection
|
# Helps avoid removing currently used dependencies via garbage collection
|
||||||
keep-derivations = true
|
keep-derivations = true
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
|
# Extra isolation for network and filesystem, doesn't work on MacOS
|
||||||
|
build-use-sandbox = false
|
||||||
|
|
|
@ -63,6 +63,7 @@ if [[ "$(uname -s)" =~ Darwin ]]; then
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
nixOpts+=(
|
nixOpts+=(
|
||||||
|
"--option" "build-use-sandbox" "true"
|
||||||
"--option" "extra-sandbox-paths" "${KEYSTORE_PATH} ${SECRETS_FILE_PATH}"
|
"--option" "extra-sandbox-paths" "${KEYSTORE_PATH} ${SECRETS_FILE_PATH}"
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue