parent
197e8583a2
commit
e71b15a0d8
1 changed files with 5 additions and 2 deletions
|
@ -36,12 +36,15 @@ for package in "${PACKAGES[@]}"; do
|
||||||
#
|
#
|
||||||
# rust - crates
|
# rust - crates
|
||||||
if grep -q "depends = rust\|cargo" <<<"$makepkg_output"; then
|
if grep -q "depends = rust\|cargo" <<<"$makepkg_output"; then
|
||||||
EXTRA_ARGS+=(--bind-rw /var/cache/cargo:/build/.cargo)
|
EXTRA_ARGS+=(
|
||||||
|
--bind-rw /var/cache/cargo/git:/build/.cargo/git
|
||||||
|
--bind-rw /var/cache/cargo/registry:/build/.cargo/registry
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# go - modules
|
# go - modules
|
||||||
if grep -q "depends = go" <<<"$makepkg_output"; then
|
if grep -q "depends = go" <<<"$makepkg_output"; then
|
||||||
EXTRA_ARGS+=(--bind-rw /var/cache/golang:/build/go)
|
EXTRA_ARGS+=(--bind-rw /var/cache/golang/pkg:/build/go/pkg)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# dart - packages
|
# dart - packages
|
||||||
|
|
Loading…
Reference in a new issue