Revert "use direct JSON for project declaration"
This reverts commit 9b489c0eed
.
This commit is contained in:
parent
9b489c0eed
commit
0a211317f6
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"main": {
|
|
||||||
"enabled": 1,
|
|
||||||
"hidden": false,
|
|
||||||
"description": "js",
|
|
||||||
"nixexprinput": "nixScripts",
|
|
||||||
"nixexprpath": "main.nix",
|
|
||||||
"checkinterval": 300,
|
|
||||||
"schedulingshares": 10,
|
|
||||||
"enableemail": false,
|
|
||||||
"emailoverride": "",
|
|
||||||
"keepnr": 10,
|
|
||||||
"inputs": {
|
|
||||||
"nixScripts": { "type": "git", "value": "git://github.com/m-labs/nix-scripts.git", "emailresponsible": false },
|
|
||||||
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-18.09", "emailresponsible": false },
|
|
||||||
"artiqSrc": { "type": "git", "value": "git://github.com/m-labs/artiq.git master 1", "emailresponsible": false }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
27
hydra-project.nix
Normal file
27
hydra-project.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {}}:
|
||||||
|
{
|
||||||
|
jobsets = pkgs.runCommand "spec.json" {}
|
||||||
|
''
|
||||||
|
cat > $out << EOF
|
||||||
|
{
|
||||||
|
"main": {
|
||||||
|
"enabled": 1,
|
||||||
|
"hidden": false,
|
||||||
|
"description": "js",
|
||||||
|
"nixexprinput": "nixScripts",
|
||||||
|
"nixexprpath": "main.nix",
|
||||||
|
"checkinterval": 300,
|
||||||
|
"schedulingshares": 10,
|
||||||
|
"enableemail": false,
|
||||||
|
"emailoverride": "",
|
||||||
|
"keepnr": 10,
|
||||||
|
"inputs": {
|
||||||
|
"nixScripts": { "type": "git", "value": "git://github.com/m-labs/nix-scripts.git", "emailresponsible": false },
|
||||||
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-18.09", "emailresponsible": false },
|
||||||
|
"artiqSrc": { "type": "git", "value": "git://github.com/m-labs/artiq.git master 1", "emailresponsible": false }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user