New comment by hasufell on void-packages repository https://github.com/void-linux/void-packages/pull/35624#issuecomment-1152411910 Comment: > I've applied @hasufell's patch and gotten the build to work; compilation on/to non-`x86_64` architectures or musl unfortunately doesn't work currently because some of ghcup's dependencies are incompatible (e.g., haskell's `libarchive` package explicitly imports a glibc header). This package template is ready for review. That can't be. The ghcup binaries are built on alpine linux with musl. There's a static libarchive option: `-f-system-libarchive`