File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchurl ,
5+ mysql_jdbc ,
56 extensions ? { } ,
67 libJars ? [ ] ,
78 nixosTests ,
@@ -26,11 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
2627 hash = "sha256-xppAoKNS/qB8WVMwBPxxHbOy5uDGl3IxrCWV1T+YQkE=" ;
2728 } ;
2829
29- mysqlConnector = fetchurl {
30- url = "mirror://maven/mysql/mysql-connector-java/5.1.48/mysql-connector-java-5.1.48.jar" ;
31- hash = "sha256-VuJsqqOCH1rkr0T5x09mz4uE6gFRatOAPLsOkEm27Kg=" ;
32- } ;
33-
3430 dontBuild = true ;
3531
3632 loadExtensions = (
@@ -61,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
6157 runHook preInstall
6258 mkdir $out
6359 mv * $out
64- ${ optionalString mysqlSupport "cp ${ finalAttrs . mysqlConnector } $out/extensions/mysql-metadata-storage" }
60+ ${ optionalString mysqlSupport "ln -s ${ mysql_jdbc } /share/java/mysql-connector-java.jar $out/extensions/mysql-metadata-storage" }
6561 ${ finalAttrs . loadExtensions }
6662 ${ finalAttrs . loadJars }
6763 runHook postInstall
You can’t perform that action at this time.
0 commit comments