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 {
|
||||
jobsets = pkgs.runCommand "spec.json" {} ''
|
||||
cat <<EOF
|
||||
${builtins.toXML declInput}
|
||||
EOF
|
||||
cat > $out <<EOF
|
||||
{
|
||||
"enabled": 1,
|
||||
"hidden": false,
|
||||
"type": "legacy",
|
||||
"description": "Build packages maintained by me",
|
||||
"nixexprinput": "src",
|
||||
"nixexprpath": "default.nix",
|
||||
"checkinterval": 3600,
|
||||
"schedulingshares": 100,
|
||||
"enableemail": false,
|
||||
"emailoverride": "",
|
||||
"keepnr": 3,
|
||||
"inputs": {
|
||||
"src": {
|
||||
"type": "git",
|
||||
"value": "https://git.illustris.tech/illustris/hydra-builds master",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"nixpkgs": {
|
||||
"type": "git",
|
||||
"value": "https://github.com/NixOS/nixpkgs master",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"maintainer": { "type": "string", "value": "illustris" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
cat > $out <<EOF
|
||||
{
|
||||
"enabled": 1,
|
||||
"hidden": false,
|
||||
"type": "legacy",
|
||||
"description": "Build packages maintained by me",
|
||||
"nixexprinput": "src",
|
||||
"nixexprpath": "default.nix",
|
||||
"checkinterval": 3600,
|
||||
"schedulingshares": 100,
|
||||
"enableemail": false,
|
||||
"emailoverride": "",
|
||||
"keepnr": 3,
|
||||
"inputs": {
|
||||
"src": {
|
||||
"type": "git",
|
||||
"value": "https://git.illustris.tech/illustris/hydra-builds master",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"nixpkgs": {
|
||||
"type": "git",
|
||||
"value": "https://github.com/NixOS/nixpkgs master",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"maintainer": { "type": "string", "value": "illustris" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
cat <<EOF
|
||||
${builtins.toXML declInput}
|
||||
EOF
|
||||
cat $out
|
||||
'';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user