Thomas Gerbet 2022-01-29 11:04:47 +01:00
parent 1d389b20d3
commit 55561105fa
3 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
inherit (pkgs.darwin) cctools;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
});
mysqlPackage = {
mysqlPackages = {
inherit (pkgs) mysql57 mysql80;
};
mkTestName = pkg: "mariadb_${builtins.replaceStrings ["."] [""] (lib.versions.majorMinor pkg.version)}";

View File

@ -142,7 +142,7 @@ let
in
lib.mapAttrs (_: package: makeMySQLTest {
inherit package;
hasRocksDB = false; hasMroonga = false;
hasRocksDB = false; hasMroonga = false; useSocketAuth = false;
}) mysqlPackages
// (lib.mapAttrs (_: package: makeMySQLTest {
inherit package;

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, cmake, bison, pkg-config
, boost, libedit, libevent, lz4, ncurses, openssl, protobuf, readline, zlib, perl
, cctools, CoreServices, developer_cmds
, libtirpc, rpcsvc-proto
, libtirpc, rpcsvc-proto, nixosTests
}:
# Note: zlib is not required; MySQL can use an internal zlib.
@ -9,11 +9,11 @@
let
self = stdenv.mkDerivation rec {
pname = "mysql";
version = "5.7.27";
version = "5.7.37";
src = fetchurl {
url = "mirror://mysql/MySQL-5.7/${pname}-${version}.tar.gz";
sha256 = "1fhv16zr46pxm1j8vb8x8mh3nwzglg01arz8gnazbmjqldr5idpq";
sha256 = "sha256-qZqaqGNdJWbat2Sy3la+0XMDZdNg4guyf1Y5LOVOGL0=";
};
preConfigure = lib.optionalString stdenv.isDarwin ''
@ -75,6 +75,7 @@ self = stdenv.mkDerivation rec {
connector-c = self;
server = self;
mysqlVersion = "5.7";
tests = nixosTests.mysql.mysql57;
};
meta = with lib; {