opencode: expose theme.json over passthru.jsonschema
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user