Merge pull request #1381 from NixOS/factor-out-tests

Try again to ensure hydra module is usable
This commit is contained in:
John Ericson 2024-05-03 12:50:02 -04:00 committed by GitHub
commit 3bf00e31c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -76,7 +76,7 @@
modules =
[
self.nixosModules.hydra
self.nixosModules.overlayNixpkgsForThisHyydra
self.nixosModules.overlayNixpkgsForThisHydra
self.nixosModules.hydraTest
self.nixosModules.hydraProxy
{

View file

@ -3,8 +3,9 @@
{
hydra = import ./hydra.nix;
overlayNixpkgsForThisHyydra = {
overlayNixpkgsForThisHydra = { pkgs, ... }: {
nixpkgs = { inherit overlays; };
services.hydra.package = pkgs.hydra;
};
hydraTest = { pkgs, ... }: {

View file

@ -68,7 +68,7 @@ in
package = mkOption {
type = types.path;
default = pkgs.hydra;
default = pkgs.hydra_unstable;
defaultText = literalExpression "pkgs.hydra";
description = "The Hydra package.";
};

View file

@ -7,7 +7,7 @@ let
{
imports = [
nixosModules.hydra
nixosModules.overlayNixpkgsForThisHyydra
nixosModules.overlayNixpkgsForThisHydra
nixosModules.hydraTest
];