Merge pull request #61 from blaggacao/da-separate-pkgs-from-overlays

ref: remove overlay xref to pkgs
This commit is contained in:
Timothy DeHerrera 2020-12-30 13:53:51 -07:00 committed by GitHub
commit 09f0bbda70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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