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 5f80a7a commit b153b0f
Show file tree
Hide file tree
Showing 2 changed files with 9 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
6 changes: 6 additions & 0 deletions pkgs/themes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,18 @@ in
src = officialThemes;
sidebarConfig = true;
appendName = true;
injectCss = true;
replaceColors = true;
overwriteAssets = true;
};
Glaze = {
name = "Glaze";
src = charlieS1103GlazeSrc;
sidebarConfig = true;
appendName = false;
injectCss = true;
replaceColors = true;
overwriteAssets = true;
};
Turntable = {
name = "Turntable";
Expand Down

0 comments on commit b153b0f

Please sign in to comment.