forked from pub-solar/os
Merge pull request #61 from blaggacao/da-separate-pkgs-from-overlays
ref: remove overlay xref to pkgs
This commit is contained in:
commit
09f0bbda70
|
@ -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