about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/hydra/default.nix
blob: 1636ad6dd71f22f62cedeb75ffcbfecbde1aff7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ fetchFromGitHub, nixStable, callPackage, nixFlakes, nixosTests }:

{
  hydra-unstable = callPackage ./common.nix {
    version = "2020-10-20";
    src = fetchFromGitHub {
      owner = "NixOS";
      repo = "hydra";
      rev = "79d34ed7c93af2daf32cf44ee0e3e0768f13f97c";
      sha256 = "1lql899430137l6ghnhyz0ivkayy83fdr087ck2wq3gf1jv8pccj";
    };
    patches = [
      ./hydra-nix-receiveContents.patch
    ];
    nix = nixFlakes;

    tests = {
      basic = nixosTests.hydra.hydra-unstable;
    };
  };
}