fix overlays bad type
This commit is contained in:
parent
2b619a2be2
commit
b7838874d8
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue