I discovered a gap in my mental model of nix today around builtins
.
I wanted to reference builtins.currentSystem
in a flake but could not.
Do we have documentation anywhere that categorizes which builtins are pure versus impure? I saw the nix manual notes that builtins.currentSystem
is unavailable in pure mode.
As an aside, it looks like others have had a similar suprise/experience: