switch to hydra git

This commit is contained in:
Jörg Thalheim 2022-04-10 22:40:01 +02:00
parent 92c546dd63
commit 25f1f8b37b
No known key found for this signature in database
4 changed files with 118 additions and 14 deletions

View file

@ -19,7 +19,6 @@
../roles/raid.nix
../services/hound
../services/hydra
../services/matterbridge.nix
];

116
flake.lock generated
View file

@ -34,6 +34,46 @@
"type": "github"
}
},
"hydra": {
"inputs": {
"newNixpkgs": "newNixpkgs",
"nix": "nix",
"nixpkgs": [
"hydra",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1649378106,
"narHash": "sha256-1Raoxt3SBLrPtV414DIeCiWyBml02HuN2z8ijlDsFeY=",
"owner": "NixOS",
"repo": "hydra",
"rev": "c44d9d9e917f8f02ddb5c01a8620c439993540b6",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "hydra",
"type": "github"
}
},
"lowdown-src": {
"flake": false,
"locked": {
"lastModified": 1633514407,
"narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=",
"owner": "kristapsdz",
"repo": "lowdown",
"rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8",
"type": "github"
},
"original": {
"owner": "kristapsdz",
"repo": "lowdown",
"type": "github"
}
},
"marvin-mk2": {
"flake": false,
"locked": {
@ -72,6 +112,41 @@
"type": "github"
}
},
"newNixpkgs": {
"locked": {
"lastModified": 1647380550,
"narHash": "sha256-909TI9poX7CIUiFx203WL29YON6m/I6k0ExbZvR7bLM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6e3ee8957637a60f5072e33d78e05c0f65c54366",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nix": {
"inputs": {
"lowdown-src": "lowdown-src",
"nixpkgs": "nixpkgs_2",
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1649172203,
"narHash": "sha256-Q3nYaXqbseDOvZrlePKeIrx0/KzqyrtNpxHIUbtFHuI=",
"owner": "NixOS",
"repo": "nix",
"rev": "5fe4fe823c193cbb7bfa05a468de91eeab09058d",
"type": "github"
},
"original": {
"id": "nix",
"type": "indirect"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1647297614,
@ -104,11 +179,26 @@
"type": "github"
}
},
"nixpkgs-regression": {
"locked": {
"lastModified": 1643052045,
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "github"
},
"original": {
"id": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "indirect"
}
},
"nixpkgs-update": {
"inputs": {
"flake-compat": "flake-compat",
"mmdoc": "mmdoc",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1649619611,
@ -158,6 +248,21 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1645296114,
"narHash": "sha256-y53N7TyIkXsjMpOG7RhvqJFGDacLs9HlyHeSTBioqYU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "530a53dcbc9437363471167a5e4762c5fcfa34a1",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-21.05-small",
"type": "indirect"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1649549506,
"narHash": "sha256-flgjQ/ZTxobJJS3QWmecyfkYO5j+/WC0IKzyWvK/fs0=",
@ -173,7 +278,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1629859457,
"narHash": "sha256-JlAU1EboVCOJeMXNLJusf+0vnx++xK1Y4DW5y80zMfY=",
@ -188,7 +293,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1638097282,
"narHash": "sha256-EXCzj9b8X/lqDPJapxZThIOKL5ASbpsJZ+8L1LnY1ig=",
@ -207,8 +312,9 @@
"root": {
"inputs": {
"hercules-ci-effects": "hercules-ci-effects",
"hydra": "hydra",
"marvin-mk2": "marvin-mk2",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"nixpkgs-update": "nixpkgs-update",
"nixpkgs-update-github-releases": "nixpkgs-update-github-releases",
"nixpkgs-update-pypi-releases": "nixpkgs-update-pypi-releases",
@ -217,7 +323,7 @@
},
"sops-nix": {
"inputs": {
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1647279403,

View file

@ -13,6 +13,7 @@
hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects";
marvin-mk2.url = "github:timokau/marvin-mk2";
marvin-mk2.flake = false;
hydra.url = "github:NixOS/hydra";
};
outputs = { self
@ -23,6 +24,7 @@
, sops-nix
, hercules-ci-effects
, marvin-mk2
, hydra
}: {
devShell.x86_64-linux = let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
@ -59,6 +61,9 @@
(import ./services/marvin-mk2.nix {
inherit marvin-mk2;
})
(import ./services/hydra {
inherit hydra;
})
./build03/configuration.nix
];

View file

@ -1,3 +1,4 @@
{ hydra }:
{ lib, pkgs, config, ... }:
with lib;
@ -92,14 +93,7 @@ in
];
};
services.hydra.package = pkgs.hydra-unstable.overrideAttrs (old: {
patches = old.patches ++ [
(pkgs.fetchpatch {
url = "https://github.com/NixOS/hydra/commit/089da272c76a8e562239b64cb71fb5b43716efa5.patch";
sha256 = "sha256-yRa/Qvyr6Ed7qdaly+DCanWbBYN8JoJhUd5JJkKwpas=";
})
];
});
services.hydra.package = hydra.defaultPackage.${pkgs.system};
sops.secrets.nix-community-cachix = {
owner = "hydra-queue-runner";