New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/49526#issuecomment-2021150796 Comment: I think `STACK_ROOT` contains build artifacts. Not for the current package you are building, but only for all the dependencies taken from stackage. IOW, if you build pandoc again, it's source will be recompiled each time, but the dependencies will be built only the first time (for each architecture). It also seems to contain the registry and downloaded sources, but it's not obvious to me how to share this between architectures while having binaries separate (especially x86_64 vs x86_64-musl which they are both named `x86_64-linux` for stack, but are not compatible). This seems to be working ok, but I'll test a bit more. I do have pandoc update working on x86_64 but it's failing on musl (this was fixed before in #36292 but it's not obvious to me how to bring the fix forward).