add hydra here

This commit is contained in:
Charlotte 🦝 Delenk 2022-07-03 16:32:22 +01:00
parent 33bd67a401
commit 2ad2bfd2d9
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 350 additions and 1 deletions

View file

@ -150,6 +150,82 @@
"type": "github"
}
},
"hydra": {
"inputs": {
"newNixpkgs": "newNixpkgs",
"nix": "nix",
"nixpkgs": [
"hydra",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1656749415,
"narHash": "sha256-f4uVur+WP2u2QQg7hSxD0xULrpB8XJL4FWu7kda6wiU=",
"owner": "mlabs-haskell",
"repo": "hydra",
"rev": "391ada95ec2d3398a529b1ad29750a8bc88cd63f",
"type": "github"
},
"original": {
"owner": "mlabs-haskell",
"ref": "aciceri/ca-derivations",
"repo": "hydra",
"type": "github"
}
},
"hydra-base": {
"inputs": {
"newNixpkgs": "newNixpkgs_2",
"nix": "nix_2",
"nixpkgs": [
"hydra-base",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1656595702,
"narHash": "sha256-q23k6R5QX0RfIYjLk80mEbngvTS5eBWtYUO8mpzhObU=",
"ref": "hack",
"rev": "3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2",
"revCount": 3987,
"type": "git",
"url": "https://git.chir.rs/darkkirb/hydra"
},
"original": {
"ref": "hack",
"rev": "3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2",
"type": "git",
"url": "https://git.chir.rs/darkkirb/hydra"
}
},
"hydra-patched": {
"inputs": {
"newNixpkgs": "newNixpkgs_3",
"nix": "nix_3",
"nixpkgs": [
"hydra-patched",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1656775750,
"narHash": "sha256-l7kGQYd22oJFlVQT/F/m9vMbdKqWGzDqfdUAEYR61Vk=",
"ref": "hack",
"rev": "b3eedbffd8560b7775130477c2816d6645a9983b",
"revCount": 3993,
"type": "git",
"url": "https://git.chir.rs/darkkirb/hydra"
},
"original": {
"ref": "hack",
"type": "git",
"url": "https://git.chir.rs/darkkirb/hydra"
}
},
"kreative-open-relay": {
"flake": false,
"locked": {
@ -166,6 +242,54 @@
"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"
}
},
"lowdown-src_2": {
"flake": false,
"locked": {
"lastModified": 1633514407,
"narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=",
"owner": "kristapsdz",
"repo": "lowdown",
"rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8",
"type": "github"
},
"original": {
"owner": "kristapsdz",
"repo": "lowdown",
"type": "github"
}
},
"lowdown-src_3": {
"flake": false,
"locked": {
"lastModified": 1633514407,
"narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=",
"owner": "kristapsdz",
"repo": "lowdown",
"rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8",
"type": "github"
},
"original": {
"owner": "kristapsdz",
"repo": "lowdown",
"type": "github"
}
},
"mastodon": {
"flake": false,
"locked": {
@ -246,6 +370,117 @@
"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"
}
},
"newNixpkgs_2": {
"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"
}
},
"newNixpkgs_3": {
"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_3",
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1654014617,
"narHash": "sha256-qNL3lQPBsnStkru3j1ajN/H+knXI+X3dku8/dBfSw3g=",
"owner": "NixOS",
"repo": "nix",
"rev": "624e38aa43f304fbb78b4779172809add042b513",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "2.9.1",
"repo": "nix",
"type": "github"
}
},
"nix_2": {
"inputs": {
"lowdown-src": "lowdown-src_2",
"nixpkgs": "nixpkgs_4",
"nixpkgs-regression": "nixpkgs-regression_2"
},
"locked": {
"lastModified": 1654014617,
"narHash": "sha256-qNL3lQPBsnStkru3j1ajN/H+knXI+X3dku8/dBfSw3g=",
"owner": "NixOS",
"repo": "nix",
"rev": "624e38aa43f304fbb78b4779172809add042b513",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "2.9.1",
"repo": "nix",
"type": "github"
}
},
"nix_3": {
"inputs": {
"lowdown-src": "lowdown-src_3",
"nixpkgs": "nixpkgs_5",
"nixpkgs-regression": "nixpkgs-regression_3"
},
"locked": {
"lastModified": 1654014617,
"narHash": "sha256-qNL3lQPBsnStkru3j1ajN/H+knXI+X3dku8/dBfSw3g=",
"owner": "NixOS",
"repo": "nix",
"rev": "624e38aa43f304fbb78b4779172809add042b513",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "2.9.1",
"repo": "nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1654275867,
@ -278,6 +513,51 @@
"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-regression_2": {
"locked": {
"lastModified": 1643052045,
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "github"
},
"original": {
"id": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "indirect"
}
},
"nixpkgs-regression_3": {
"locked": {
"lastModified": 1643052045,
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "github"
},
"original": {
"id": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "indirect"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1656608236,
@ -311,6 +591,51 @@
}
},
"nixpkgs_3": {
"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_4": {
"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_5": {
"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_6": {
"locked": {
"lastModified": 1656753965,
"narHash": "sha256-BCrB3l0qpJokOnIVc3g2lHiGhnjUi0MoXiw6t1o8H1E=",
@ -368,13 +693,16 @@
"drone-runner-docker": "drone-runner-docker",
"flake-utils": "flake-utils_2",
"gomod2nix": "gomod2nix",
"hydra": "hydra",
"hydra-base": "hydra-base",
"hydra-patched": "hydra-patched",
"kreative-open-relay": "kreative-open-relay",
"mastodon": "mastodon",
"matrix-media-repo": "matrix-media-repo",
"mautrix-whatsapp": "mautrix-whatsapp",
"miifox-net": "miifox-net",
"nasin-nanpa": "nasin-nanpa",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_6",
"nixpkgs-go116": "nixpkgs-go116",
"nixpkgs-stable": "nixpkgs-stable",
"plover": "plover",

View file

@ -36,6 +36,9 @@
copilot-lua.flake = false;
copilot-cmp.url = "github:zbirenbaum/copilot-cmp";
copilot-cmp.flake = false;
hydra.url = "github:mlabs-haskell/hydra/aciceri/ca-derivations";
hydra-patched.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack";
hydra-base.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack&rev=3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2";
};
outputs = {
@ -73,6 +76,7 @@
./art
./ci/drone-runner-docker
./vim
./hydra
]);
hydraJobs =

17
hydra/default.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, inputs }: rec {
hydra-patch = pkgs.stdenvNoCC.mkDerivation {
name = "hydra.patch";
srcs = inputs.hydra-patched;
nativeBuildInputs = [ pkgs.diffutils ];
buildPhase = ''
diff -r -u ${inputs.hydra-base} . > $out || true
'';
installPhase = "true";
};
hydra = inputs.hydra.packages.${pkgs.system}.hydra.overrideAttrs (old: {
patches = [
hydra-patch
];
doCheck = false;
});
}