65dfe147b7
merge both tests and completely refactor
10 lines
412 B
Nix
10 lines
412 B
Nix
{ lib, pkgs }: {
|
|
mariadbPackages = lib.filterAttrs (n: _: lib.hasPrefix "mariadb" n) (pkgs.callPackage ../../../pkgs/servers/sql/mariadb {
|
|
inherit (pkgs.darwin) cctools;
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
|
});
|
|
mysqlPackage = {
|
|
inherit (pkgs) mysql57 mysql80;
|
|
};
|
|
mkTestName = pkg: "mariadb_${builtins.replaceStrings ["."] [""] (lib.versions.majorMinor pkg.version)}";
|
|
}
|