If you're using this in your package, consider adding something like:
prepare() {
export FAKEZIG_CACHE_DIR="${srcdir}"
# rest of your code...
}
This caches downloaded Zig versions into $srcdir/{anyzig,zigup,zigup-old}
, which prevents littering the host system and removes the requirement for a writable $HOME
to build AUR packages.
Pinned Comments
vitaliikuzhdin commented on 2025-05-24 16:09 (UTC) (edited on 2025-05-24 21:48 (UTC) by vitaliikuzhdin)
If you're using this in your package, consider adding something like:
This caches downloaded Zig versions into
$srcdir/{anyzig,zigup,zigup-old}
, which prevents littering the host system and removes the requirement for a writable$HOME
to build AUR packages.