From b82016ca994ac6aa5b07eb5df1efffa56cc20f78 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Thu, 24 Oct 2024 09:54:33 +1000
Subject: [PATCH] terraform/hydra-nixpkgs: cuda-stable-previous

---
 terraform/hydra-nixpkgs.tf | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/terraform/hydra-nixpkgs.tf b/terraform/hydra-nixpkgs.tf
index f332454..c8668ba 100644
--- a/terraform/hydra-nixpkgs.tf
+++ b/terraform/hydra-nixpkgs.tf
@@ -18,6 +18,15 @@ locals {
       scheduling_shares    = 6000
       supported_systems    = "[ \"x86_64-linux\" ]"
     }
+    cuda_stable_previous = {
+      name                 = "cuda-stable-previous"
+      description          = "nixos-24.05-small cuda"
+      nixpkgs_channel      = "https://github.com/NixOS/nixpkgs.git nixos-24.05-small"
+      nixpkgs_release_file = "pkgs/top-level/release-cuda.nix"
+      check_interval       = 1800
+      scheduling_shares    = 6000
+      supported_systems    = "[ \"x86_64-linux\" ]"
+    }
     rocm = {
       name                 = "rocm"
       description          = "Testing ROCm support."