mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
Ensure STATUS_GO_SRC_OVERRIDE
gets passed to the Nix shell's config
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
670c07b9b4
commit
e38e9f1072
@ -51,6 +51,10 @@ if [[ "$TARGET_OS" =~ (linux|windows|darwin|macos) ]]; then
|
||||
nix-shell ${shellArgs[@]} --run "scripts/prepare-for-desktop-platform.sh" || exit
|
||||
fi
|
||||
|
||||
if [ -n "${STATUS_GO_SRC_OVERRIDE}" ]; then
|
||||
shellArgs+=("--arg config {android_sdk.accept_license=true;status_go.src_override=\"${STATUS_GO_SRC_OVERRIDE}\";}")
|
||||
fi
|
||||
|
||||
# if _NIX_ATTR is specified we shouldn't use shell.nix, the path will be different
|
||||
entryPoint="shell.nix"
|
||||
if [ -n "${_NIX_ATTR}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user