There are no global state mutations in `pkgs`. All immutable parts are in `impure.nix`, which already has a complete `pkgs`.
Maybe you are confusing state mutations with fixed points, which are used extensively (thankfully).
Maybe you are confusing state mutations with fixed points, which are used extensively (thankfully).