nix-on-droid, tests: use /data/local/tmp/n-o-d

This commit is contained in:
Alexander Sosedkin 2024-06-15 14:23:02 +02:00
parent ac61d6b095
commit 6c4f4aa81e

View file

@ -18,8 +18,9 @@ _setup() {
local repoName=${BASH_REMATCH[2]}
local repoBranch=${BASH_REMATCH[3]}
FLAKE_URL=github:$repoUser/$repoName/$repoBranch
elif [[ "$channelUrl" == file:///n-o-d/archive.tar.gz ]]; then
FLAKE_URL=/n-o-d/unpacked
elif [[ "$channelUrl" == file:///data/local/tmp/n-o-d/archive.tar.gz ]]
then
FLAKE_URL=/data/local/tmp/n-o-d/unpacked
else
FLAKE_URL="$channelUrl"
fi