fix overlays bad type

This commit is contained in:
do butterflies cry? 2026-02-14 14:42:02 +10:00
parent 2b619a2be2
commit b7838874d8

View file

@ -21,6 +21,7 @@
inherit
(builtins)
mapAttrs
typeOf
;
cfg = config.nixpkgs.channels;
@ -107,7 +108,8 @@ in {
else if contextName == "homes"
then {
config = decl.pkgs.config or {};
overlays = decl.pkgs.overlays or {};
# XXX: WARNING: TODO: modify options so overlays must always be given as the correct type
overlays = decl.pkgs.overlays or [];
}
else {};
};