hydra: switch to fork

This commit is contained in:
zowoq 2024-07-06 16:58:34 +10:00
parent 5f62fc66cb
commit 2759825916
2 changed files with 29 additions and 0 deletions

18
flake.lock generated
View file

@ -147,6 +147,23 @@
"type": "github"
}
},
"hydra": {
"flake": false,
"locked": {
"lastModified": 1726454607,
"narHash": "sha256-wgrT9T6f1VRwTGSKX6SzWIQ/86hViotAhxfSEYVvp6A=",
"owner": "qowoz",
"repo": "hydra",
"rev": "e8f81311f67ee5e86a3c10453b8609695f66e9d7",
"type": "github"
},
"original": {
"owner": "qowoz",
"ref": "community",
"repo": "hydra",
"type": "github"
}
},
"lite-config": {
"locked": {
"lastModified": 1723691425,
@ -304,6 +321,7 @@
"empty": "empty",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"hydra": "hydra",
"lite-config": "lite-config",
"nix-darwin": "nix-darwin",
"nix-index-database": "nix-index-database",

View file

@ -24,6 +24,8 @@
flake-compat.url = "github:nix-community/flake-compat";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
hydra.flake = false;
hydra.url = "github:qowoz/hydra/community";
lite-config.url = "github:yelite/lite-config";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nix-darwin.url = "github:LnL7/nix-darwin";
@ -63,6 +65,15 @@
{
nixpkgs = {
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "terraform" ];
overlays = [
(final: prev: {
hydra = (prev.hydra.override { nix = final.nixVersions.nix_2_22; }).overrideAttrs (o: {
version = inputs.hydra.shortRev;
src = inputs.hydra;
buildInputs = o.buildInputs ++ [ final.perlPackages.DBIxClassHelpers ];
});
})
];
};
hostModuleDir = ./hosts;