1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

Rename applyGlobalOverrides to pkgsWithOverrides

This commit is contained in:
Nicolas B. Pierron 2016-03-20 15:54:26 +00:00
parent 32e96bbb8b
commit 07e549ee5b

View file

@ -95,7 +95,7 @@ let
# (un-overriden) set of packages, allowing packageOverrides
# attributes to refer to the original attributes (e.g. "foo =
# ... pkgs.foo ...").
pkgs = applyGlobalOverrides (self: config.packageOverrides or (super: {}));
pkgs = pkgsWithOverrides (self: config.packageOverrides or (super: {}));
# stdenvOverrides is used to avoid circular dependencies for building the
# standard build environment. This mechanism use the override mechanism to
@ -111,7 +111,7 @@ let
# Return the complete set of packages, after applying the overrides
# returned by the `overrider' function (see above). Warning: this
# function is very expensive!
applyGlobalOverrides = overrider:
pkgsWithOverrides = overrider:
let
overrides = super: overrider pkgs super // stdenvOverrides super;
@ -167,7 +167,7 @@ let
#
# The result is `pkgs' where all the derivations depending on `foo'
# will use the new version.
overridePackages = f: applyGlobalOverrides f;
overridePackages = f: pkgsWithOverrides f;
# Override system. This is useful to build i686 packages on x86_64-linux.
forceSystem = system: kernel: (import ./../..) {