diff options
author | John Ericson <git@JohnEricson.me> | 2019-02-02 15:58:17 -0500 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2019-02-02 16:14:58 -0500 |
commit | 755e824291623e9610fb1a5b8656dab5901e236c (patch) | |
tree | adb9f695f050429b98ba74306ad722216b10ae4a /pkgs/top-level/stage.nix | |
parent | c85a8a1fad20f95bf60ccb95f562d787ca3a42db (diff) |
all-packages: Just refer to `self`, not `super`, or `res`
This ends a years-long process to removoe pointless fixed points in this
file!
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 6ca370e0b9b7..0991c9138bda 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -89,10 +89,7 @@ let splice = self: super: import ./splice.nix lib self (buildPackages != null); allPackages = self: super: - let res = import ./all-packages.nix - { inherit lib noSysDirs config; } - res self super; - in res; + import ./all-packages.nix { inherit lib noSysDirs config; } self; aliases = self: super: lib.optionalAttrs (config.allowAliases or true) (import ./aliases.nix lib self super); |