The commented out part doesn't work due to wasi-sdk 16 requiring a newer glibc than is available on Glitch.
I think wasi-sdk 12 works, so let's switch to that. It requires a main function (was this a bug that they fixed later?), so we'll have to add it. It can be in a separate file so that we don't have to mess with xz-embedded's source directory.
https://github.com/wh0/nix-cache-view/blob/1a5bba2d55272506ff2f7c6af27cf0bf92d79474/auto.sh
The commented out part doesn't work due to wasi-sdk 16 requiring a newer glibc than is available on Glitch.
I think wasi-sdk 12 works, so let's switch to that. It requires a
main
function (was this a bug that they fixed later?), so we'll have to add it. It can be in a separate file so that we don't have to mess with xz-embedded's source directory.