Make arches and nixOnDroidChannelURL overridable

This commit is contained in:
Tobias Happ 2019-12-31 15:48:55 +01:00 committed by Alexander Sosedkin
parent b937531d13
commit 02fc597dd5

View file

@ -5,8 +5,8 @@ set -e
repo=${repo:-t184256/nix-on-droid-bootstrap} # set this to your fork! repo=${repo:-t184256/nix-on-droid-bootstrap} # set this to your fork!
branch=${branch:-$(git rev-parse --abbrev-ref HEAD)} branch=${branch:-$(git rev-parse --abbrev-ref HEAD)}
arches='aarch64 i686' arches=${arches:-aarch64 i686}
nixOnDroidChannelURL=https://github.com/$repo/archive/$branch.tar.gz nixOnDroidChannelURL=${nixOnDroidChannelURL:-https://github.com/$repo/archive/$branch.tar.gz}
mkdir -p out mkdir -p out
rm -f out/* rm -f out/*