use new STM32 build code on Hydra

pull/30/head
parent 3282282dde
commit 0b332b36a2
  1. 14
      hydra/stm32.nix
  2. 0
      stm32.nix
  3. 6
      stm32/default.nix

@ -4,12 +4,12 @@
''
cat > $out << EOF
{
"stabilizer": {
"stm32": {
"enabled": 1,
"hidden": false,
"description": "Stabilizer firmware",
"nixexprinput": "stabilizer",
"nixexprpath": "release.nix",
"description": "STM32 firmware",
"nixexprinput": "nixScripts",
"nixexprpath": "stm32.nix",
"checkinterval": 300,
"schedulingshares": 10,
"enableemail": false,
@ -17,8 +17,10 @@
"keepnr": 10,
"inputs": {
"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 }
}
}
}

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

Loading…
Cancel
Save