Skip to content

Commit

Permalink
FIX: themes: Glaze and Dreary were not installable.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPachec0 committed Nov 19, 2023
1 parent 35ec9cc commit ef53623
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ in {
isOutdated = tag: strings.hasPrefix tag "outdated";
manifest = builtins.filter (entry: lists.any isOutdated entry.tags) (builtins.fromJSON (builtins.readFile ./manifest.json));
warnlist =
builtins.map (entry: {
(builtins.map (entry: {
inherit (entry) name;
versions = builtins.filter (!isOutdated) entry.tags;
})
manifest;
warnlistCheck = lists.any (entry: entry.name == theme.name) warnlist;
manifest) ++ [{name = "Glaze"; versions = ["1.2.6"];}];
warnlistCheck = lists.any (entry: entry == theme.name) warnlist;
# TODO: decide if we should warn or throw here. If we throw, if that should be higher up the stack.
warnlistMsg =
lib.trivial.warn ''
Expand Down

0 comments on commit ef53623

Please sign in to comment.