summary refs log tree commit diff
path: root/pkgs/applications/misc/lyx
diff options
context:
space:
mode:
authorBastian Köcher <git@kchr.de>2018-06-17 12:10:50 +0200
committerBastian Köcher <git@kchr.de>2018-06-17 12:10:50 +0200
commite3ad1039c596e7e21856c6277e0fe6e35f3aca4f (patch)
tree8ace30f6bdf8ac7d94cad6c84d67e5f6e9d960da /pkgs/applications/misc/lyx
parent556f670c15b13aec3ef5e72623adfbb7cdbe57fc (diff)
downloadnixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar.gz
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar.bz2
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar.lz
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar.xz
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.tar.zst
nixlib-e3ad1039c596e7e21856c6277e0fe6e35f3aca4f.zip
lyx: Fixes building with Qt5.11
Diffstat (limited to 'pkgs/applications/misc/lyx')
-rw-r--r--pkgs/applications/misc/lyx/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
index 092ad6bf4780..ad3bd499cde9 100644
--- a/pkgs/applications/misc/lyx/default.nix
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, pkgconfig, python, file, bc
+{ fetchurl, stdenv, pkgconfig, python, file, bc, fetchpatch
 , qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
 }:
 
@@ -35,6 +35,13 @@ stdenv.mkDerivation rec {
       --prefix PATH : '${python}/bin'
   '';
 
+  patches = [
+    (fetchpatch {
+      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-office/lyx/files/lyx-2.3.0-qt-5.11.patch?id=07e82fd1fc07bf055c78b81eaa128f8f837da80d";
+      sha256 = "1bnx0il2iv36lnrnyb370wyvww0rd8bphcy6z8d7zmvd3pwhyfql";
+    })
+  ];
+
   meta = with stdenv.lib; {
     description = "WYSIWYM frontend for LaTeX, DocBook";
     homepage = http://www.lyx.org;