Hi, > I guess one concern could be to take into account “downstream“. For > instance, Guix is packaged by Debian or else.
We can use zig for systems that don’t have a up-to-date C++ compiler. I alreay wirte a build.zig script [1] that can be treated as the replacement of the local.mk in the nix/ directory. This script will call Zig’s C++ frontend to build executables. That sounds a little evil and I don’t know whether this satisfies GNU’s principle. Zig is not avaliable in Debian but I find people have been talking about it [2]. And I find zig is avaliable in fedora now. [1]: https://codeberg.org/congcongkuo/guix-daemon-zig/src/branch/main/build.zig [2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995670