use new STM32 build code on Hydra

This commit is contained in:
Sebastien Bourdeauducq 2019-06-01 10:35:01 +08:00
parent 3282282dde
commit 0b332b36a2
3 changed files with 11 additions and 9 deletions

View File

@ -4,12 +4,12 @@
'' ''
cat > $out << EOF cat > $out << EOF
{ {
"stabilizer": { "stm32": {
"enabled": 1, "enabled": 1,
"hidden": false, "hidden": false,
"description": "Stabilizer firmware", "description": "STM32 firmware",
"nixexprinput": "stabilizer", "nixexprinput": "nixScripts",
"nixexprpath": "release.nix", "nixexprpath": "stm32.nix",
"checkinterval": 300, "checkinterval": 300,
"schedulingshares": 10, "schedulingshares": 10,
"enableemail": false, "enableemail": false,
@ -17,8 +17,10 @@
"keepnr": 10, "keepnr": 10,
"inputs": { "inputs": {
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false }, "nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
"stabilizer": { "type": "git", "value": "git://github.com/quartiq/stabilizer.git", "emailresponsible": false }, "mozillaOverlay": { "type": "git", "value": "git://github.com/mozilla/nixpkgs-mozilla.git", "emailresponsible": false },
"mozillaOverlay": { "type": "git", "value": "git://github.com/mozilla/nixpkgs-mozilla.git", "emailresponsible": false } "nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false },
"stabilizerSrc": { "type": "git", "value": "git://github.com/quartiq/stabilizer.git", "emailresponsible": false },
"thermostatSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/thermostat.git", "emailresponsible": false }
} }
} }
} }

View File

@ -31,12 +31,12 @@ in
{ {
stabilizer = buildStm32Firmware { stabilizer = buildStm32Firmware {
name = "stabilizer"; name = "stabilizer";
src = /home/sb/stabilizer; src = <stabilizerSrc>;
cargoSha256 = "1m4cxf6c4lh28xv4iagp20ni97cya1f12yg58q0m733qahk8gncb"; cargoSha256 = "184pr64z71h5wi0n9k2ddjyzklbg1cw5vly4ppgck2q6zlb3qbm4";
}; };
thermostat = buildStm32Firmware { thermostat = buildStm32Firmware {
name = "thermostat"; name = "thermostat";
src = /home/sb/thermostat; src = <thermostatSrc>;
cargoSha256 = "1i9p5d5n01ajbp8lmavyway6vr1mmy107qnccff9glvr91rqx352"; cargoSha256 = "1i9p5d5n01ajbp8lmavyway6vr1mmy107qnccff9glvr91rqx352";
}; };
} }