2019-03-25 10:54:52 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
{
|
|
|
|
jobsets = pkgs.runCommand "spec.json" {}
|
|
|
|
''
|
|
|
|
cat > $out << EOF
|
|
|
|
{
|
|
|
|
"heavyx": {
|
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
|
|
|
"description": "HeavyX SoC toolkit experiment",
|
|
|
|
"nixexprinput": "heavyx",
|
2019-03-25 16:09:19 +08:00
|
|
|
"nixexprpath": "release.nix",
|
2019-03-25 10:54:52 +08:00
|
|
|
"checkinterval": 300,
|
|
|
|
"schedulingshares": 10,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
|
2019-04-01 10:56:20 +08:00
|
|
|
"heavyx": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/HeavyX.git", "emailresponsible": false }
|
2019-03-25 10:54:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|