mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
39e3c15706
Fixes the build the changes from b505bf202b
.
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ fetchFromGitHub, nixStable, callPackage, nixFlakes, nixosTests }:
|
|
|
|
{
|
|
# Package for phase-1 of the db migration for Hydra.
|
|
# https://github.com/NixOS/hydra/pull/711
|
|
hydra-migration = callPackage ./common.nix {
|
|
version = "2020-02-10";
|
|
src = fetchFromGitHub {
|
|
owner = "NixOS";
|
|
repo = "hydra";
|
|
rev = "add4f610ce6f206fb44702b5a894d877b3a30e3a";
|
|
sha256 = "1d8hdgjx2ys0zmixi2ydmimdq7ml20h1ji4amwawcyw59kssh6l3";
|
|
};
|
|
nix = nixStable;
|
|
migration = true;
|
|
|
|
tests = {
|
|
db-migration = nixosTests.hydra-db-migration.mig;
|
|
basic = nixosTests.hydra.hydra-migration;
|
|
};
|
|
};
|
|
|
|
# Hydra from latest master branch. Contains breaking changes,
|
|
# so when having an older version, `pkgs.hydra-migration` should be deployed first.
|
|
|
|
hydra-unstable = callPackage ./common.nix {
|
|
version = "2020-06-23";
|
|
src = fetchFromGitHub {
|
|
owner = "NixOS";
|
|
repo = "hydra";
|
|
rev = "bb32aafa4a9b027c799e29b1bcf68727e3fc5f5b";
|
|
sha256 = "0kl9h70akwxpik3xf4dbbh7cyqn06023kshfvi14mygdlb84djgx";
|
|
};
|
|
nix = nixFlakes;
|
|
|
|
tests = {
|
|
db-migration = nixosTests.hydra-db-migration.mig;
|
|
basic = nixosTests.hydra.hydra-unstable;
|
|
};
|
|
};
|
|
}
|