Update 'spec.nix'
This commit is contained in:
parent
6126e07f8c
commit
dcc17abf67
65
spec.nix
65
spec.nix
@ -1,35 +1,36 @@
|
|||||||
{ nixpkgs, declInput }: let pkgs = import nixpkgs {}; in {
|
{ nixpkgs, declInput }: let pkgs = import nixpkgs {}; in {
|
||||||
jobsets = pkgs.runCommand "spec.json" {} ''
|
jobsets = pkgs.runCommand "spec.json" {} ''
|
||||||
cat <<EOF
|
cat > $out <<EOF
|
||||||
${builtins.toXML declInput}
|
{
|
||||||
EOF
|
"enabled": 1,
|
||||||
cat > $out <<EOF
|
"hidden": false,
|
||||||
{
|
"type": "legacy",
|
||||||
"enabled": 1,
|
"description": "Build packages maintained by me",
|
||||||
"hidden": false,
|
"nixexprinput": "src",
|
||||||
"type": "legacy",
|
"nixexprpath": "default.nix",
|
||||||
"description": "Build packages maintained by me",
|
"checkinterval": 3600,
|
||||||
"nixexprinput": "src",
|
"schedulingshares": 100,
|
||||||
"nixexprpath": "default.nix",
|
"enableemail": false,
|
||||||
"checkinterval": 3600,
|
"emailoverride": "",
|
||||||
"schedulingshares": 100,
|
"keepnr": 3,
|
||||||
"enableemail": false,
|
"inputs": {
|
||||||
"emailoverride": "",
|
"src": {
|
||||||
"keepnr": 3,
|
"type": "git",
|
||||||
"inputs": {
|
"value": "https://git.illustris.tech/illustris/hydra-builds master",
|
||||||
"src": {
|
"emailresponsible": false
|
||||||
"type": "git",
|
},
|
||||||
"value": "https://git.illustris.tech/illustris/hydra-builds master",
|
"nixpkgs": {
|
||||||
"emailresponsible": false
|
"type": "git",
|
||||||
},
|
"value": "https://github.com/NixOS/nixpkgs master",
|
||||||
"nixpkgs": {
|
"emailresponsible": false
|
||||||
"type": "git",
|
},
|
||||||
"value": "https://github.com/NixOS/nixpkgs master",
|
"maintainer": { "type": "string", "value": "illustris" }
|
||||||
"emailresponsible": false
|
}
|
||||||
},
|
}
|
||||||
"maintainer": { "type": "string", "value": "illustris" }
|
EOF
|
||||||
}
|
cat <<EOF
|
||||||
}
|
${builtins.toXML declInput}
|
||||||
EOF
|
EOF
|
||||||
'';
|
cat $out
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user