I have attributed my bachelor’s thesis to static type inference for the Nix language and will pick up on the topic again for my master’s degree. I will try to implement a second calculus that supports Nix’s deeply nested records (Attrsets) throughout the summer and would like to connect with other pioneers interested in the topic. If you are interested, please contact me at sk925@email.uni-freiburg.de
I just want to let people who stumble upon this know, I’m still alive and working on it, presumably until the end of November 2026, when I try to finish my Master’s Degree. So if you’re interested in it, feel free to reach out any time Also, excitingly, someone else has published in Nix language theory recently: https://dl.acm.org/doi/10.1145/3747537
I have finished my thesis and created a novel record calculus for Nix. The type system is inspired by many existing record calculi (semantic, algebraic, soft, etc.), optimizing for efficiency, totality, and completeness. It only handles a core calculus of Nix, but it shows a path towards full coverage by integrating gradual typing. I’m currently looking for a PhD position and will see whether I find the time to continue my efforts. I’m also looking for funding to extend and integrate the type system with real Nix. The shown system has one major flaw: It uses a record semantics that is too coarse for Nix (see the discussion part for this) that has to be redone to make it applicable.