ref: remove overlay xref to pkgs

since packages are exposed through output.packages by their own,
a second export through overlays.pkgs would be smudging the public api
of this repository.
This commit is contained in:
David Arnold 2020-12-30 11:50:23 -05:00
parent a0b9f9ffe6
commit 94f334ee8d
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08
2 changed files with 2 additions and 4 deletions

View File

@ -85,11 +85,10 @@ in
genPackages = { overlay, overlays, pkgs }:
let
packages = overlay pkgs pkgs;
overlays' = lib.filterAttrs (n: v: n != "pkgs") overlays;
overlayPkgs =
genAttrs
(attrNames overlays')
(name: (overlays'."${name}" pkgs pkgs)."${name}");
(attrNames overlays)
(name: (overlays."${name}" pkgs pkgs)."${name}");
in
recursiveUpdate packages overlayPkgs;

View File

@ -1 +0,0 @@
../pkgs/default.nix