nixpkgs/pkgs
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
..
applications stdenv, neovim: Use lib.warn for deprecation warnings 2018-09-05 11:40:29 -04:00
build-support lib: Make overrideScope' which takes arguments in the conventional order 2018-09-24 17:50:11 -04:00
common-updater
data numix-cursor-theme: update homepage 2018-09-02 01:46:27 +02:00
desktops Merge pull request #45955 from romildo/upd.dtkwidget 2018-09-02 21:04:28 +02:00
development Merge commit 'b97242238d7efb029c76eb8d4fe4b1228a5b49a8' 2018-09-23 10:59:27 -04:00
games FreeOrion 0.4.7.1 -> 0.4.8 (#45943) 2018-09-02 21:42:47 +02:00
misc Merge pull request #45939 from rnhmjoj/scc 2018-09-02 20:58:13 +02:00
os-specific glibc, kernel-headers: Fix some eval errors on Darwin 2018-09-15 01:07:06 -04:00
servers home-assistant: 0.77.1 -> 0.77.2 2018-09-02 09:45:31 +02:00
shells treewide: Remove usage of remaining redundant platform compatability stuff 2018-08-30 17:20:32 -04:00
stdenv stdenv linux, stdenv cross: Harmonize extraNativeBuildInputs 2018-09-18 16:27:04 -04:00
test pkgs/tests: Add test for LD_LIBRARY_PATH 2018-08-01 19:02:21 +03:00
tools Merge pull request #45912 from xeji/p/dhcpcd 2018-09-02 15:28:15 -04:00
top-level gccCrossStageStatic: Don't use MUSL, or any libc when targetting linux 2018-09-18 16:27:04 -04:00