I don’t think I posted this here before, but for the past few months I’ve been working on and maintaining GitHub - MatthewCroughan/nixos-musl: a tracking flake for musl/llvm support in nixpkgs · GitHub which runs CI for a combination of native and cross llvm + musl builds of pkgs.nixos {} and keeps track of what fixes are needed in musl.nix and musl-llvm.nix
The results are pushed to my tiny cachix, and the CI is ran on HCI on my own hardware.
This is a pre-requisite for getting NixOS down to <20MB, which I have also achieved separately using this flake.
The extendModules interface described in the README.md is less than ideal, I know that, but I will change it to just normal nixosModules shortly.
Additionally I’m currently only testing on aarch64-linux, and will enable x86_64-linux shortly.