Hail: use static address for hydra where available
This commit is contained in:
parent
9f2af93778
commit
5d0b0cd997
|
@ -218,7 +218,8 @@ in {
|
|||
services.hail = lib.mkIf cfg.enableHail {
|
||||
enable = true;
|
||||
hydraJobUri =
|
||||
"https://hydra.hq.c3d2.de/job/c3d2/hail/${config.networking.hostName}-activator ";
|
||||
let hydra = if cfg.mapHqHosts then "hydra.hq" else "hydra.hq.c3d2.de";
|
||||
in "https:///${hydra}/job/c3d2/hail/${config.networking.hostName}-activator ";
|
||||
# pad the end so the URL doesn't break when systemshit puts a ; on the end
|
||||
package = (import <nixpkgs-unstable> { }).haskellPackages.hail;
|
||||
# Only builds > 19.09
|
||||
|
|
Loading…
Reference in New Issue