Update: inventory classes check
This commit is contained in:
committed by
kenji
parent
dc57c3d948
commit
27768aa04b
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
jsonSchema=$(nix build .#inventory-schema --print-out-paths)/schema.json
|
||||
jsonSchema=$(nix build .#inventory-schema-abstract --print-out-paths)/schema.json
|
||||
nix run .#classgen "$jsonSchema" "$PKG_ROOT/clan_cli/inventory/classes.py"
|
||||
@@ -124,7 +124,7 @@
|
||||
classFile = "classes.py";
|
||||
};
|
||||
installPhase = ''
|
||||
${self'.packages.classgen}/bin/classgen ${self'.packages.inventory-schema}/schema.json b_classes.py --stop-at "Service"
|
||||
${self'.packages.classgen}/bin/classgen ${self'.packages.inventory-schema-abstract}/schema.json b_classes.py --stop-at "Service"
|
||||
file1=$classFile
|
||||
file2=b_classes.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user