Try again to ensure hydra module is usable
Some checks are pending
Test / tests (push) Waiting to run
Some checks are pending
Test / tests (push) Waiting to run
Nixpkgs only contains a `hydra_unstable`, not `hydra`, package, so adjust the default accordingly, and then override it to our package in the separate module which does that. (cherry picked from commit e149da7b9bbc04bd0b1ca03fa0768e958cbcd40e)
This commit is contained in:
parent
c98017b823
commit
62bc5b54b2
|
@ -76,7 +76,7 @@
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
self.nixosModules.hydra
|
self.nixosModules.hydra
|
||||||
self.nixosModules.overlayNixpkgsForThisHyydra
|
self.nixosModules.overlayNixpkgsForThisHydra
|
||||||
self.nixosModules.hydraTest
|
self.nixosModules.hydraTest
|
||||||
self.nixosModules.hydraProxy
|
self.nixosModules.hydraProxy
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
{
|
{
|
||||||
hydra = import ./hydra.nix;
|
hydra = import ./hydra.nix;
|
||||||
|
|
||||||
overlayNixpkgsForThisHyydra = {
|
overlayNixpkgsForThisHydra = { pkgs, ... }: {
|
||||||
nixpkgs = { inherit overlays; };
|
nixpkgs = { inherit overlays; };
|
||||||
|
services.hydra.package = pkgs.hydra;
|
||||||
};
|
};
|
||||||
|
|
||||||
hydraTest = { pkgs, ... }: {
|
hydraTest = { pkgs, ... }: {
|
||||||
|
|
|
@ -68,7 +68,7 @@ in
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = pkgs.hydra;
|
default = pkgs.hydra_unstable;
|
||||||
defaultText = literalExpression "pkgs.hydra";
|
defaultText = literalExpression "pkgs.hydra";
|
||||||
description = "The Hydra package.";
|
description = "The Hydra package.";
|
||||||
};
|
};
|
||||||
|
@ -233,7 +233,7 @@ in
|
||||||
gc-keep-outputs = true;
|
gc-keep-outputs = true;
|
||||||
gc-keep-derivations = true;
|
gc-keep-derivations = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hydra-dev.extraConfig =
|
services.hydra-dev.extraConfig =
|
||||||
''
|
''
|
||||||
using_frontend_proxy = 1
|
using_frontend_proxy = 1
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
nixosModules.hydra
|
nixosModules.hydra
|
||||||
nixosModules.overlayNixpkgsForThisHyydra
|
nixosModules.overlayNixpkgsForThisHydra
|
||||||
nixosModules.hydraTest
|
nixosModules.hydraTest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue