diff --git a/pkgs/os-specific/linux/zfs/2_1.nix b/pkgs/os-specific/linux/zfs/2_1.nix index d950f5cac15d..885ebca73abb 100644 --- a/pkgs/os-specific/linux/zfs/2_1.nix +++ b/pkgs/os-specific/linux/zfs/2_1.nix @@ -22,9 +22,9 @@ callPackage ./generic.nix args { hash = "sha256-zFO8fMbirEOrn5W57rAN7IWY6EIXG8jDXqhP7BWJyiY="; - tests = [ - nixosTests.zfs.series_2_1 - ]; + tests = { + inherit (nixosTests.zfs) series_2_1; + }; maintainers = [ lib.maintainers.raitobezarius ]; } diff --git a/pkgs/os-specific/linux/zfs/2_2.nix b/pkgs/os-specific/linux/zfs/2_2.nix index befb83b20569..9d8be86258d5 100644 --- a/pkgs/os-specific/linux/zfs/2_2.nix +++ b/pkgs/os-specific/linux/zfs/2_2.nix @@ -19,10 +19,9 @@ callPackage ./generic.nix args { # this package should point to the latest release. version = "2.2.6"; - tests = [ - nixosTests.zfs.installer - nixosTests.zfs.series_2_2 - ]; + tests = { + inherit (nixosTests.zfs) installer series_2_2; + }; maintainers = with lib.maintainers; [ adamcstephens amarshall ]; diff --git a/pkgs/os-specific/linux/zfs/unstable.nix b/pkgs/os-specific/linux/zfs/unstable.nix index 3fb46077d886..4893c3e32152 100644 --- a/pkgs/os-specific/linux/zfs/unstable.nix +++ b/pkgs/os-specific/linux/zfs/unstable.nix @@ -23,9 +23,9 @@ callPackage ./generic.nix args { version = "2.2.6"; # rev = ""; - tests = [ - nixosTests.zfs.unstable - ]; + tests = { + inherit (nixosTests.zfs) unstable; + }; hash = "sha256-wkgoYg6uQOHVq8a9sJXzO/QXJ6q28l7JXWkC+BFvOb0="; }