b9dce11712
The `overrideScope` bound by `makeScope` (via special `callPackage`) took an override in the form `super: self { … }`. But this is dangerously close to the `self: super { … }` form used by *everything* else, even other definitions of `overrideScope`! Since that implementation did not even share any code either until I changed it recently in 3cf43547f4be03d1d6eb0bbfc557e2dbc13b4095, this inconsistency is almost certainly an oversight and not intentional. Unfortunately, just as the inconstency is hard to debug if one just assumes the conventional order, any sudden fix would break existing overrides in the same hard-to-debug way. So instead of changing the definition a new `overrideScope'` with the conventional order is added, and old `overrideScope` deprecated with a warning saying to use `overrideScope'` instead. That will hopefully get people to stop using `overrideScope`, freeing our hand to change or remove it in the future. |
||
---|---|---|
.. | ||
languages-frameworks | ||
old | ||
.gitignore | ||
coding-conventions.xml | ||
configuration.xml | ||
contributing.xml | ||
cross-compilation.xml | ||
default.nix | ||
functions.xml | ||
introduction.chapter.md | ||
Makefile | ||
manual.xml | ||
meta.xml | ||
multiple-output.xml | ||
overlays.xml | ||
overrides.css | ||
package-notes.xml | ||
platform-notes.xml | ||
quick-start.xml | ||
release-notes.xml | ||
reviewing-contributions.xml | ||
shell.nix | ||
shell.section.md | ||
stdenv.xml | ||
style.css | ||
submitting-changes.xml |