From 32e96bbb8b05bbc5aecaf4a8edec9a20e150d8cd Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Sun, 20 Mar 2016 15:43:27 +0000 Subject: [PATCH] Within applyGlobalOverrides, alias pkgsFun calls. --- pkgs/top-level/all-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 614978b011d7..778ce916d12b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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.