From 02fc597dd54b4747629d7066e5bc11803389f8a7 Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Tue, 31 Dec 2019 15:48:55 +0100 Subject: [PATCH] Make arches and nixOnDroidChannelURL overridable --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 1d597e0..67607fc 100755 --- a/build.sh +++ b/build.sh @@ -5,8 +5,8 @@ set -e repo=${repo:-t184256/nix-on-droid-bootstrap} # set this to your fork! branch=${branch:-$(git rev-parse --abbrev-ref HEAD)} -arches='aarch64 i686' -nixOnDroidChannelURL=https://github.com/$repo/archive/$branch.tar.gz +arches=${arches:-aarch64 i686} +nixOnDroidChannelURL=${nixOnDroidChannelURL:-https://github.com/$repo/archive/$branch.tar.gz} mkdir -p out rm -f out/*