nixpkgs/nixos/tests/mysql/common.nix
Oliver Schmidt 746bbd84c7 tests/mysql: properly specify percona packages
(cherry picked from commit db92bb514af90fb03a17342c1dbe1407fa365053)
2024-10-15 22:18:32 +02:00

11 lines
383 B
Nix

{ lib, pkgs }: {
mariadbPackages = lib.filterAttrs (n: _: lib.hasPrefix "mariadb" n) (import ../../../pkgs/servers/sql/mariadb pkgs);
mysqlPackages = {
inherit (pkgs) mysql80;
};
perconaPackages = {
inherit (pkgs) percona-server_8_0 percona-server_8_4;
};
mkTestName = pkg: "mariadb_${builtins.replaceStrings ["."] [""] (lib.versions.majorMinor pkg.version)}";
}