3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tests: fix inclusion of hydra test

This commit is contained in:
Maximilian Bosch 2020-04-16 02:03:53 +02:00
parent ef80b6324b
commit 5e124e5abd
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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()
''; '';
}); };
} }