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 }: genPackages = { overlay, overlays, pkgs }:
let let
packages = overlay pkgs pkgs; packages = overlay pkgs pkgs;
overlays' = lib.filterAttrs (n: v: n != "pkgs") overlays;
overlayPkgs = overlayPkgs =
genAttrs genAttrs
(attrNames overlays') (attrNames overlays)
(name: (overlays'."${name}" pkgs pkgs)."${name}"); (name: (overlays."${name}" pkgs pkgs)."${name}");
in in
recursiveUpdate packages overlayPkgs; recursiveUpdate packages overlayPkgs;

View file

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