build: add nim bind mounts
This commit is contained in:
parent
1175312ebb
commit
89746e8977
1 changed files with 8 additions and 0 deletions
|
@ -66,6 +66,14 @@ for package in "${PACKAGES[@]}"; do
|
||||||
)
|
)
|
||||||
fi
|
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
|
# build signed package in chroot & add to local repo
|
||||||
aur build \
|
aur build \
|
||||||
--chroot \
|
--chroot \
|
||||||
|
|
Loading…
Reference in a new issue