Under applyGlobalOverrides, inline mkOverrides in overrides.

This commit is contained in:
Nicolas B. Pierron 2016-03-18 20:58:24 +00:00
parent 71b2fd92b3
commit a8374f2168

View File

@ -111,9 +111,7 @@ let
# function is very expensive!
applyGlobalOverrides = pkgsOrig: overrider:
let
mkOverrides = pkgs: overrides: overrides // stdenvOverrides pkgs;
overrides = mkOverrides pkgsOrig (overrider pkgs pkgsOrig);
overrides = overrider pkgs pkgsOrig // stdenvOverrides pkgsOrig;
# The overriden, final packages.
pkgs = pkgsFun pkgs overrides;