nixpkgs-suyu/doc
John Ericson b9dce11712 lib: Make overrideScope' which takes arguments in the conventional order
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 3cf43547f4, 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.
2018-09-24 17:50:11 -04:00
..
languages-frameworks Merge pull request #45914 from grahamc/section-ids 2018-09-01 15:38:52 -04:00
old reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
.gitignore
coding-conventions.xml doc: ran make format 2018-05-31 21:03:37 -04:00
configuration.xml Fix small typo in configuration documentation (#40357) 2018-05-11 21:31:56 +02:00
contributing.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
cross-compilation.xml top-level: Deprecate top-level {build,host,target}Platform 2018-09-05 11:53:51 -04:00
default.nix Merge pull request #43857 from volth/unused 2018-07-20 21:06:32 +02:00
functions.xml nixpkgs docs: normalize 2018-08-27 19:54:41 -04:00
introduction.chapter.md Fix invalid sentence in doc (#43228) 2018-07-08 23:46:34 +02:00
Makefile doc: Adds xml fixing script. (see previous and next commits) 2018-05-31 21:02:15 -04:00
manual.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
meta.xml doc: ran make format 2018-05-31 21:03:37 -04:00
multiple-output.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
overlays.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
overrides.css doc: Fixes in-text callouts and screen callouts. 2018-04-07 15:38:12 -04:00
package-notes.xml lib: Make overrideScope' which takes arguments in the conventional order 2018-09-24 17:50:11 -04:00
platform-notes.xml nixpkgs docs: normalize 2018-08-27 19:54:41 -04:00
quick-start.xml doc: change git:// links to https:// (#44395) 2018-08-03 14:01:34 +01:00
release-notes.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
reviewing-contributions.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
shell.nix doc: Adds xml fixing script. (see previous and next commits) 2018-05-31 21:02:15 -04:00
shell.section.md
stdenv.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
style.css nixos docs: syntax highlight 2018-04-05 07:54:01 -04:00
submitting-changes.xml Add section IDs 2018-09-01 15:06:38 -04:00