about summary refs log tree commit diff
path: root/pkgs/applications/editors/texworks
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-02-03 14:36:44 +0100
committerRobert Schütz <dev@schuetz-co.de>2021-02-03 15:28:45 +0100
commitb2e5c48ab3a8ebc2460b9c4825ac7265ad1d8deb (patch)
treee1a50ce1fe14ac829e8c2755262d4ad304432e3b /pkgs/applications/editors/texworks
parente44011c1a6da4f055aa31693c29cc360a47a7225 (diff)
texworks: use Qt 5.15
Diffstat (limited to 'pkgs/applications/editors/texworks')
-rw-r--r--pkgs/applications/editors/texworks/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/editors/texworks/default.nix b/pkgs/applications/editors/texworks/default.nix
index d0347bcb37c61..87990b6eae8f7 100644
--- a/pkgs/applications/editors/texworks/default.nix
+++ b/pkgs/applications/editors/texworks/default.nix
@@ -1,4 +1,4 @@
-{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
+{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config
 , qtscript, poppler, hunspell
 , withLua ? true, lua
 , withPython ? true, python3 }:
@@ -14,6 +14,14 @@ mkDerivation rec {
     sha256 = "1lw1p4iyzxypvjhnav11g6rwf6gx7kyzwy2iprvv8zzpqcdkjp2z";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "fix-compilation-with-qt-5.15.patch";
+      url = "https://github.com/TeXworks/texworks/commit/a5352a3a94e3685125650b65e6197de060326cc2.patch";
+      sha256 = "0pf7h1m11x0s039bxknm7rxdp9b4g8ch86y38jlyy56c74mw97i6";
+    })
+  ];
+
   nativeBuildInputs = [ cmake pkg-config ];
   buildInputs = [ qtscript poppler hunspell ]
                 ++ lib.optional withLua lua