diff options
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 3886ae04e492a..1f37bbb70bda6 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -8,6 +8,13 @@ arguments. Normal users should not import this directly but instead import `pkgs/default.nix` or `default.nix`. */ +let + # An overlay to auto-call packages in ../by-name. + # By defining it at the top of the file, + # this value gets reused even if this file is imported multiple times, + # thanks to Nix's import-value cache. + autoCalledPackages = import ./by-name-overlay.nix ../by-name; +in { ## Misc parameters kept the same for all stages ## @@ -279,6 +286,7 @@ let stdenvAdapters trivialBuilders splice + autoCalledPackages allPackages otherPackageSets aliases |