make sourceTypes json

This commit is contained in:
Jeff Hykin 2024-05-25 11:02:11 -04:00
parent 735f118b90
commit 8f0b52892c
2 changed files with 19 additions and 1 deletions

View file

@ -43,7 +43,7 @@ let
# constants
licenses = static.setup.licenses;
sourceTypes = callLibs ./source-types.nix;
sourceTypes = static.setup.sourceTypes;
systems = callLibs ./systems;
# serialization

View file

@ -1,4 +1,22 @@
{
"sourceTypes": {
"binaryBytecode": {
"isSource": false,
"shortName": "binaryBytecode"
},
"binaryFirmware": {
"isSource": false,
"shortName": "binaryFirmware"
},
"binaryNativeCode": {
"isSource": false,
"shortName": "binaryNativeCode"
},
"fromSource": {
"isSource": true,
"shortName": "fromSource"
}
},
"licenses": {
"abstyles": {
"deprecated": false,