1 files changed, 4 insertions(+), 1 deletions(-)
M APKBUILD
M APKBUILD => APKBUILD +4 -1
@@ 33,7 33,10 @@ build() {
# shared scss partials are assembled by CI at ASSETS/scss (no apk ships
# them).
make css ASSETS=/usr/share/sourcehut
- CGO_ENABLED=0 make build GOFLAGS="-trimpath"
+ # -modcacherw matters beyond convenience: without it the module cache is
+ # extracted read-only, and the CI cache tarball made from it can't be
+ # unpacked on the next build (mkdir into 0555 dirs fails).
+ CGO_ENABLED=0 make build GOFLAGS="-trimpath -modcacherw"
}
package() {