diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index ae0d38fc7af..6370bf57e13 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;