From 5783f66bc838317bbd6b78e22eb12bac958c25b1 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Sun, 20 Mar 2016 18:17:35 +0000 Subject: [PATCH] Internalize the recursion over the set of all packages. --- pkgs/top-level/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index ae0d38fc7afb..6370bf57e139 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -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;