1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-27 08:27:45 +00:00

Fix infinite recursion

This commit is contained in:
RGBCube 2023-11-29 15:53:06 +03:00
parent f5a6953e33
commit ccd52c1beb
No known key found for this signature in database

View file

@ -1,8 +1,10 @@
{
description = "Theme your NixOS configuration consistently.";
outputs = { self }: {
outputs = { self }: let
raw = import ./themes.nix;
in {
inherit raw;
custom = theme: let
onlyColors = builtins.removeAttrs theme [ "name" "author" ];
@ -17,5 +19,5 @@
tmTheme = (import ./templates/tmTheme.nix) themeFull;
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
};
} // builtins.mapAttrs (name: self.custom) self.raw;
} // builtins.mapAttrs (name: self.custom) raw;
}