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:
parent
a0b9f9ffe6
commit
94f334ee8d
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../pkgs/default.nix
|
|
Loading…
Reference in a new issue