Open t184256 opened 5 years ago
https://github.com/NixOS/nixpkgs/commit/1e1d29c2af646b21c04f7a27614317a19ee01bc5 is talking self-hosting toolchains, maybe this could be revisited now.
Just that I know what to subscribe to, would this issue being solved mean the .activationPackage
could be a flake check, please?
You mean, will become buildable without --impure
? Yes.
Could you perhaps permalink to the impure part, just for educational purposes?
Thank you, @t184256
For full management of the system and smooth upgrade path that was laid out in #18 we should also manage proot with nix and make it buildable on-device (and cache the result so that the users won't actually have to do that). Ironically, now it's easier to cross-compile that to native-compile it, as it has to be linked with bionic.
Maybe it'd be acceptable to just ape the build environment from termux and use LLVM. Maybe not.