6 trivialJob = pkgs.writeTextDir "trivial.nix" ''
7 { trivial = builtins.derivation {
11 allowSubstitutes = false;
12 preferLocalBuild = true;
13 args = ["-c" "echo success > $out; exit 0"];
18 createTrivialProject = pkgs.stdenv.mkDerivation {
19 name = "create-trivial-project";
21 nativeBuildInputs = [ pkgs.makeWrapper ];
22 installPhase = "install -m755 -D ${./create-trivial-project.sh} $out/bin/create-trivial-project.sh";
24 wrapProgram "$out/bin/create-trivial-project.sh" --prefix PATH ":" ${
25 pkgs.lib.makeBinPath [ pkgs.curl ]
26 } --set EXPR_PATH ${trivialJob}
31 virtualisation.memorySize = 2048;
32 time.timeZone = "UTC";
33 environment.systemPackages = [
39 # Hydra needs those settings to start up, so we add something not harmfull.
40 hydraURL = "example.com";
41 notificationSender = "example@example.com";
43 email_notification = 1
46 services.postfix.enable = true;
47 nix.settings.substituters = [ ];