MaJ version hydra - manuelle

pull/7/head
Jean-Pierre PRUNARET 9 years ago
parent df05e6101d
commit 8d28f29c57

@ -5,8 +5,17 @@ let
cfg = config.r6d.config-generator;
computers = config.r6d.computers;
profiles = config.r6d.profiles;
in
# Note that we use 'import <nixpkgs> {}' instead of 'pkgs'.
# 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.
hydra-src = (import <nixpkgs> {}).fetchgit {
url = "https://github.com/NixOS/hydra.git";
rev = "de55303197d997c4fc5503b52b1321ae9528583d";
sha256 = "0nimqsbpjxfwha6d5gp6a7jh50i83z1llmx30da4bscsic8z1xly";
};
in
mkIf cfg.hydra-core {
# Paquets
@ -43,6 +52,7 @@ mkIf cfg.hydra-core {
listenHost = "localhost";
minimumDiskFree = 50; # Go
smtpHost = "localhost";
package = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux);
};
## Ménage

Loading…
Cancel
Save