summary refs log tree commit diff
path: root/pkgs/applications/misc/mysql-workbench
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-08-14 13:46:52 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-09-29 03:14:22 -0700
commitcca1670bcda2ff78e05c6260b1ef594252077588 (patch)
treeec1c95b2b146e3a0c414dca18e340664a23d6686 /pkgs/applications/misc/mysql-workbench
parent23d3a0269a7580dc05c5fa2b9f11ed73c87afc3b (diff)
downloadnixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar.gz
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar.bz2
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar.lz
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar.xz
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.tar.zst
nixpkgs-cca1670bcda2ff78e05c6260b1ef594252077588.zip
mysqlWorkbench: support antlr4.7.2
Diffstat (limited to 'pkgs/applications/misc/mysql-workbench')
-rw-r--r--pkgs/applications/misc/mysql-workbench/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mysql-workbench/default.nix b/pkgs/applications/misc/mysql-workbench/default.nix
index 135745feec3..443fe2f1d6c 100644
--- a/pkgs/applications/misc/mysql-workbench/default.nix
+++ b/pkgs/applications/misc/mysql-workbench/default.nix
@@ -37,6 +37,12 @@ in stdenv.mkDerivation rec {
     })
   ];
 
+  # have it look for 4.7.2 instead of 4.7.1
+  preConfigure = ''
+    substituteInPlace CMakeLists.txt \
+      --replace "antlr-4.7.1-complete.jar" "antlr-4.7.2-complete.jar"
+  '';
+
   nativeBuildInputs = [
     cmake ninja pkgconfig jre swig wrapGAppsHook
   ];