This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/hydra/default.nix

21 lines
437 B
Nix
Raw Normal View History

2022-07-04 01:27:05 +00:00
{
pkgs,
inputs,
}: rec {
2022-07-03 15:32:22 +00:00
hydra-patch = pkgs.stdenvNoCC.mkDerivation {
name = "hydra.patch";
srcs = inputs.hydra-patched;
2022-07-04 01:27:05 +00:00
nativeBuildInputs = [pkgs.diffutils];
2022-07-03 15:32:22 +00:00
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;
});
}