mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
a5c9290979
Mysql 5.7 is not EOL yet, but is quite old and fully replaceable by mysql 8.0 or mariadb.
11 lines
405 B
Nix
11 lines
405 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;
|
|
});
|
|
mysqlPackages = {
|
|
inherit (pkgs) mysql80;
|
|
};
|
|
mkTestName = pkg: "mariadb_${builtins.replaceStrings ["."] [""] (lib.versions.majorMinor pkg.version)}";
|
|
}
|