Skip to content

Commit

Permalink
build(nix): adjust for new package.json format
Browse files Browse the repository at this point in the history
Surely the next time I'll not forget about the nix build
  • Loading branch information
nekowinston committed Nov 28, 2023
1 parent b75a232 commit acef1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
inherit (pkgs) lib;

packageJSON = builtins.fromJSON (builtins.readFile ../package.json);
properties = (builtins.head packageJSON.contributes.configuration).properties;
properties = packageJSON.contributes.configuration.properties;
validAccents = properties."catppuccin.accentColor".enum;
validWorkbenchModes = properties."catppuccin.workbenchMode".enum;
validBracketModes = properties."catppuccin.bracketMode".enum;
Expand Down

0 comments on commit acef1eb

Please sign in to comment.