forked from mirrors/nixpkgs
nixos/tests: fix inclusion of hydra test
This commit is contained in:
parent
ef80b6324b
commit
5e124e5abd
|
@ -1,8 +1,14 @@
|
||||||
{ system ? builtins.currentSystem, ... }:
|
{ system ? builtins.currentSystem
|
||||||
|
, pkgs ? import ../../.. { inherit system; }
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
|
||||||
let inherit (import ./common.nix { inherit system; }) baseConfig; in
|
let inherit (import ./common.nix { inherit system; }) baseConfig; in
|
||||||
|
|
||||||
{ mig = import ../make-test-python.nix ({ pkgs, lib, ... }: {
|
with import ../../lib/testing-python.nix { inherit system pkgs; };
|
||||||
|
with pkgs.lib;
|
||||||
|
|
||||||
|
{ mig = makeTest {
|
||||||
name = "hydra-db-migration";
|
name = "hydra-db-migration";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ ma27 ];
|
maintainers = [ ma27 ];
|
||||||
|
@ -82,5 +88,5 @@ let inherit (import ./common.nix { inherit system; }) baseConfig; in
|
||||||
|
|
||||||
original.shutdown()
|
original.shutdown()
|
||||||
'';
|
'';
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue