mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 08:27:45 +00:00
Fix infinite recursion
This commit is contained in:
parent
f5a6953e33
commit
ccd52c1beb
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
{
|
{
|
||||||
description = "Theme your NixOS configuration consistently.";
|
description = "Theme your NixOS configuration consistently.";
|
||||||
|
|
||||||
outputs = { self }: {
|
outputs = { self }: let
|
||||||
raw = import ./themes.nix;
|
raw = import ./themes.nix;
|
||||||
|
in {
|
||||||
|
inherit raw;
|
||||||
|
|
||||||
custom = theme: let
|
custom = theme: let
|
||||||
onlyColors = builtins.removeAttrs theme [ "name" "author" ];
|
onlyColors = builtins.removeAttrs theme [ "name" "author" ];
|
||||||
|
@ -17,5 +19,5 @@
|
||||||
tmTheme = (import ./templates/tmTheme.nix) themeFull;
|
tmTheme = (import ./templates/tmTheme.nix) themeFull;
|
||||||
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
||||||
};
|
};
|
||||||
} // builtins.mapAttrs (name: self.custom) self.raw;
|
} // builtins.mapAttrs (name: self.custom) raw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue