opencode: expose theme.json over passthru.jsonschema

This commit is contained in:
Thierry Delafontaine
2026-07-23 18:29:48 +02:00
parent eb1e54bea7
commit 52c32542f0
+2
View File
@@ -142,6 +142,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
install -Dm644 config.json $out/share/opencode/config.json
install -Dm644 tui.json $out/share/opencode/tui.json
install -Dm644 ../web/public/theme.json $out/share/opencode/theme.json
runHook postInstall
'';
@@ -166,6 +167,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
passthru = {
jsonschema = {
config = "${finalAttrs.finalPackage}/share/opencode/config.json";
theme = "${finalAttrs.finalPackage}/share/opencode/theme.json";
tui = "${finalAttrs.finalPackage}/share/opencode/tui.json";
};
updateScript = nix-update-script {