nixpkgs/nixos/tests/mysql/common.nix

11 lines
383 B
Nix
Raw Normal View History

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