2019-03-25 10:54:52 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
{
|
|
|
|
jobsets = pkgs.runCommand "spec.json" {}
|
|
|
|
''
|
|
|
|
cat > $out << EOF
|
|
|
|
{
|
2019-05-15 10:39:10 +08:00
|
|
|
"stabilizer": {
|
2019-03-25 10:54:52 +08:00
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
2019-05-15 10:39:10 +08:00
|
|
|
"description": "Stabilizer firmware",
|
|
|
|
"nixexprinput": "stabilizer",
|
2019-03-25 10:54:52 +08:00
|
|
|
"nixexprpath": "release.nix",
|
|
|
|
"checkinterval": 300,
|
|
|
|
"schedulingshares": 10,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
2019-04-12 16:57:30 +08:00
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
|
2019-05-15 10:39:10 +08:00
|
|
|
"stabilizer": { "type": "git", "value": "git://github.com/quartiq/stabilizer.git", "emailresponsible": false },
|
2019-03-25 10:54:52 +08:00
|
|
|
"mozillaOverlay": { "type": "git", "value": "git://github.com/mozilla/nixpkgs-mozilla.git", "emailresponsible": false }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|