Within applyGlobalOverrides, alias pkgsFun calls.

This commit is contained in:
Nicolas B. Pierron 2016-03-20 15:43:27 +00:00
parent 5e3ce6334c
commit 32e96bbb8b

View File

@ -113,13 +113,13 @@ let
# function is very expensive!
applyGlobalOverrides = overrider:
let
overrides = overrider pkgs pkgsOrig // stdenvOverrides pkgsOrig;
overrides = super: overrider pkgs super // stdenvOverrides super;
# The un-overriden packages, passed to `overrider'.
pkgsOrig = pkgsFun pkgs;
pkgs_ = pkgsFun pkgs;
# The overriden, final packages.
pkgs = pkgsFun pkgs // overrides;
pkgs = pkgs_ // overrides pkgs_;
in pkgs;
# The package compositions. Yes, this isn't properly indented.