diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-16 02:03:53 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-16 02:17:25 +0200 |
commit | 5e124e5abd53108b3f21f9f7a1ec56db002fee4f (patch) | |
tree | 8f5b275c0d6715c005f2db9e8899bdbfdcd652fe /nixos/tests/hydra | |
parent | ef80b6324b9c387256027159796f4f5adbfffe6a (diff) | |
download | nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar.gz nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar.bz2 nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar.lz nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar.xz nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.tar.zst nixpkgs-5e124e5abd53108b3f21f9f7a1ec56db002fee4f.zip |
nixos/tests: fix inclusion of hydra test
Diffstat (limited to 'nixos/tests/hydra')
-rw-r--r-- | nixos/tests/hydra/db-migration.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/nixos/tests/hydra/db-migration.nix b/nixos/tests/hydra/db-migration.nix index aa1c81c9e77..cf74acfd67a 100644 --- a/nixos/tests/hydra/db-migration.nix +++ b/nixos/tests/hydra/db-migration.nix @@ -1,8 +1,14 @@ -{ system ? builtins.currentSystem, ... }: +{ system ? builtins.currentSystem +, pkgs ? import ../../.. { inherit system; } +, ... +}: 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"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ ma27 ]; @@ -82,5 +88,5 @@ let inherit (import ./common.nix { inherit system; }) baseConfig; in original.shutdown() ''; - }); + }; } |