Move 'with helperFunctions' above the set of all packages.

This commit is contained in:
Nicolas B. Pierron 2016-03-17 20:19:44 +00:00
parent a39c5ff0d8
commit 11a566b5bc

View file

@ -125,11 +125,10 @@ let
# The package compositions. Yes, this isn't properly indented. # The package compositions. Yes, this isn't properly indented.
pkgsFun = pkgs: overrides: pkgsFun = pkgs: overrides:
with helperFunctions;
let let
defaultScope = pkgs // pkgs.xorg; defaultScope = pkgs // pkgs.xorg;
self = self_ // overrides; self = self_ // overrides;
self_ = with self; helperFunctions // { self_ = with self; helperFunctions // (with helperFunctions; {
# Make some arguments passed to all-packages.nix available # Make some arguments passed to all-packages.nix available
inherit system platform; inherit system platform;
@ -16470,7 +16469,7 @@ let
mg = callPackage ../applications/editors/mg { }; mg = callPackage ../applications/editors/mg { };
}; # self_ = }); # self_ =
aliases = import ./aliases.nix self; aliases = import ./aliases.nix self;