From 1222ba03a66811564c7ef4a9117c09e166087a26 Mon Sep 17 00:00:00 2001
From: Martin Weinelt <mweinelt@users.noreply.github.com>
Date: Sat, 19 Oct 2024 17:30:59 +0200
Subject: [PATCH] Make the in-tree package the default package

There is an overlay for the `hydra` name, but `hydra_unstable` was used, which can refer to the nixpkgs package and lead to and outdated hydra version and requires configuring the correct package attribute downstream.
---
 nixos-modules/hydra.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nixos-modules/hydra.nix b/nixos-modules/hydra.nix
index d001675d..6a2390c4 100644
--- a/nixos-modules/hydra.nix
+++ b/nixos-modules/hydra.nix
@@ -68,7 +68,7 @@ in
 
       package = mkOption {
         type = types.path;
-        default = pkgs.hydra_unstable;
+        default = pkgs.hydra;
         defaultText = literalExpression "pkgs.hydra";
         description = "The Hydra package.";
       };