diff --git a/terraform/hydra-projects.tf b/terraform/hydra-projects.tf index 8a3c2a92a..470be857c 100644 --- a/terraform/hydra-projects.tf +++ b/terraform/hydra-projects.tf @@ -81,10 +81,12 @@ resource "hydra_project" "nixpkgs" { } resource "hydra_jobset" "nixpkgs_cuda" { + for_each = toset(["nixos-unstable", "master"]) + project = hydra_project.nixpkgs.name state = "enabled" visible = true - name = "cuda" + name = "cuda-${each.value}" type = "legacy" description = "Testing CUDA support. Come help the CUDA team! https://nixos.org/community/teams/cuda/" @@ -96,7 +98,7 @@ resource "hydra_jobset" "nixpkgs_cuda" { input { name = "nixpkgs" type = "git" - value = "https://github.com/NixOS/nixpkgs.git nixos-unstable" + value = "https://github.com/NixOS/nixpkgs.git ${each.value}" notify_committers = false }