update hydra

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-28 15:37:43 +01:00
parent 19f2bdf21b
commit 6f1d2e38ec
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,4 +1,23 @@
{ nixpkgs-soundtouch, nixpkgs-tdesktop, system, ... }:
{ nixpkgs-soundtouch, nixpkgs-tdesktop, system, pkgs, nixpkgs, ... }:
let
rawPerlPackages = pkgs.callPackage "${nixpkgs}/pkgs/top-level/perl-packages.nix" {
overrides = pkgs: { };
buildPerl = pkgs.perl;
};
hydra = pkgs.callPackage "${nixpkgs}/pkgs/development/tools/misc/hydra/common.nix" {
version = "2022-02-22";
src = pkgs.fetchFromGitHub {
owner = "nixos";
repo = "hydra";
rev = "a2546121f0c737b9fa5e6d311561ce57e7d0318a";
sha256 = "092akmayvfwnqk17kl6jlzn5adi574xib9alw0w35rmavxp701zz";
};
nix = pkgs.nixVersions.unstable;
tests = {
basic = pkgs.nixosTests.hydra.hydra-unstable;
};
};
in
{
nixpkgs.overlays = [
(self: prev: {
@ -7,7 +26,7 @@
});
soundtouch = nixpkgs-soundtouch.legacyPackages.${system}.soundtouch;
tdesktop = nixpkgs-tdesktop.legacyPackages.${system}.tdesktop;
hydra-unstable = prev.hydra-unstable.overrideAttrs (old: {
hydra-unstable = hydra.overrideAttrs (old: {
patches = [
../../extra/hydra.patch
];