build: add nim bind mounts

This commit is contained in:
George Rawlinson 2022-09-30 02:55:55 +00:00
parent 1175312ebb
commit 89746e8977
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -66,6 +66,14 @@ for package in "${PACKAGES[@]}"; do
)
fi
# nim - nim/nimble
if grep -q "depends = nim\|nimble" <<<"$makepkg_output"; then
EXTRA_ARGS+=(
--bind-rw /var/cache/nim/nim-cache:/build/.cache/nim
--bind-rw /var/cache/nim/nimble:/build/.nimble
)
fi
# build signed package in chroot & add to local repo
aur build \
--chroot \