Internalize the recursion over the set of all packages.

This commit is contained in:
Nicolas B. Pierron 2016-03-20 18:17:35 +00:00
parent f8dedbb101
commit 5783f66bc8

View File

@ -124,7 +124,9 @@ let
stdenvDefault = (import ./stdenv.nix topLevelArguments) {} pkgs;
selfArgs = topLevelArguments // { inherit pkgsWithOverrides; };
self = (import ./all-packages.nix selfArgs) self pkgs;
self =
let res = import ./all-packages.nix selfArgs res pkgs;
in res;
aliases = super: import ./aliases.nix super;