|
|
@ -11,13 +11,13 @@ let
|
|
|
|
# Note that we use 'import <nixpkgs> {}' instead of 'pkgs'.
|
|
|
|
# Note that we use 'import <nixpkgs> {}' instead of 'pkgs'.
|
|
|
|
# If we use the latter we get an infinite recursion
|
|
|
|
# If we use the latter we get an infinite recursion
|
|
|
|
# because we include hydra-src in the module imports below which in turn defines the 'pkgs' value.
|
|
|
|
# because we include hydra-src in the module imports below which in turn defines the 'pkgs' value.
|
|
|
|
hydra-src = (import <nixpkgs> {}).fetchgit {
|
|
|
|
#hydra-src = (import <nixpkgs> {}).fetchgit {
|
|
|
|
url = "https://github.com/NixOS/hydra.git";
|
|
|
|
# url = "https://github.com/NixOS/hydra.git";
|
|
|
|
rev = "de55303197d997c4fc5503b52b1321ae9528583d";
|
|
|
|
# rev = "de55303197d997c4fc5503b52b1321ae9528583d";
|
|
|
|
sha256 = "0nimqsbpjxfwha6d5gp6a7jh50i83z1llmx30da4bscsic8z1xly";
|
|
|
|
# sha256 = "0nimqsbpjxfwha6d5gp6a7jh50i83z1llmx30da4bscsic8z1xly";
|
|
|
|
};
|
|
|
|
#};
|
|
|
|
|
|
|
|
|
|
|
|
hydra-src-pkg = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux);
|
|
|
|
#hydra-src-pkg = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux);
|
|
|
|
|
|
|
|
|
|
|
|
# information pour l'état de hydra :
|
|
|
|
# information pour l'état de hydra :
|
|
|
|
# hydra-queue-runner --status | json_pp
|
|
|
|
# hydra-queue-runner --status | json_pp
|
|
|
@ -61,9 +61,9 @@ mkIf cfg.hydra-core {
|
|
|
|
#package = hydra-src-pkg ;
|
|
|
|
#package = hydra-src-pkg ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
systemd.services.hydra-evaluator = {
|
|
|
|
#systemd.services.hydra-evaluator = {
|
|
|
|
path = [ pkgs.nettools config.services.hydra.package ];
|
|
|
|
# path = [ pkgs.nettools config.services.hydra.package ];
|
|
|
|
};
|
|
|
|
#};
|
|
|
|
|
|
|
|
|
|
|
|
## Ménage
|
|
|
|
## Ménage
|
|
|
|
#nix.gc.automatic = true;
|
|
|
|
#nix.gc.automatic = true;
|
|
|
|