clan/schema: rename json schemas consistent {clanSchemaNix, clanSchemaJson}

This commit is contained in:
Johannes Kirschbauer
2025-08-25 11:27:03 +02:00
parent 8baf4fcedd
commit 2d78730037
4 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
set -euo pipefail
clanSchema=$(nix build .#schemas.clan-schema-abstract --print-out-paths)/schema.json
clanSchema=$(nix build .#schemas.clanSchemaJson --print-out-paths)/schema.json
SCRIPT_DIR=$(dirname "$0")
cd "$SCRIPT_DIR"
nix run .#classgen -- "$clanSchema" "./clan.py"

View File

@@ -134,7 +134,7 @@
classFile = "clan.py";
};
installPhase = ''
${self'.packages.classgen}/bin/classgen ${self'.legacyPackages.schemas.clan-schema-abstract}/schema.json b_classes.py
${self'.packages.classgen}/bin/classgen ${self'.legacyPackages.schemas.clanSchemaJson}/schema.json b_classes.py
file1=$classFile
file2=b_classes.py