@@ -98,6 +98,14 @@ in let
9898 # compiling toolchains and 32-bit packages on x86_64). In both those cases we
9999 # want the provided non-native `localSystem` argument to affect the stdenv
100100 # chosen.
101+ #
102+ # NB!!! This thing gets its `config` argument from `args`, i.e. it's actually
103+ # `config0`. It is important to keep it to `config0` format (as opposed to the
104+ # result of `evalModules`, i.e. the `config` variable above) throughout all
105+ # nixpkgs evaluations since the above function `config0 -> config` implemented
106+ # via `evalModules` is not idempotent. In other words, if you add `config` to
107+ # `newArgs`, expect strange very hard to debug errors! (Yes, I'm speaking from
108+ # experience here.)
101109 nixpkgsFun = newArgs: import ./. (args // newArgs);
102110
103111 # Partially apply some arguments for building bootstraping stage pkgs