mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Make arches and nixOnDroidChannelURL overridable
This commit is contained in:
parent
b937531d13
commit
02fc597dd5
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
|
@ -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/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue