Re:Zb: An Early-Stage Build System
by Ericson2314 on Thursday September 19, 2024 @06:02PM
(#41596841)
You should look at Nix's experimental dynamic derivations, which provide functionality entirely at the level of derivation language / store layer.
Interesting! Thanks, hadn't seen that yet. (For anyone else curious, the RFC is here: https://github.com/NixOS/rfcs/blob/master/rfcs/0092-plan-dyn...)
IME import-from-derivation and similar in Nix is usually used for importing build configurations from remote repositories. Bazel has a repository rule system that is similar: https://bazel.build/extending/repo
So to answer your question: yes from the strictest possible definition, but in practice, I believe the tradeoffs are acceptable.