Lately I've just been wondering if you couldn't have a python runtime for nix evaluations.
Ultimately we're taking inputs, making derivations and calling some nix specific library functions.
It feels like we should be able to do that with a Python library that would have the major advantage of being step debuggable.