nixpkgs/lib
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
..
systems androidndk: Add Darwin support 2018-09-17 22:34:37 -04:00
tests hurd: cleanup unmaintained target 2018-08-28 22:18:02 +01:00
attrsets.nix Merge pull request #45038 from symphorien/optopt 2018-08-30 20:08:45 +02:00
composable-derivation.nix [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
customisation.nix lib: Make overrideScope' which takes arguments in the conventional order 2018-09-24 17:50:11 -04:00
debug.nix lib.debug: fix traceValSeqFn 2018-07-15 09:36:08 +09:00
default.nix as requested: 2018-08-21 20:11:28 +02:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
kernel.nix linux: translate config to structured config 2018-06-30 16:01:41 +03:00
licenses.nix xfig: 3.2.5b -> 3.2.7a 2018-08-20 00:43:11 +02:00
lists.nix [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
meta.nix
minver.nix Nix minimal version: 1.11 -> 2.0 2018-08-30 08:09:54 -04:00
modules.nix module system: rework module merging 2018-08-27 17:11:58 +02:00
options.nix
sources.nix
strings-with-deps.nix
strings.nix function rewritten by @Infinisil 2018-08-21 20:11:28 +02:00
trivial.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00
types.nix [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
versions.nix
zip-int-bits.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00