about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2012-08-07 14:45:18 +0200
committerVladimír Čunát <vcunat@gmail.com>2012-08-07 16:06:13 +0200
commit740cd9b5f446cdfb32ea2845c20e5e9a93297197 (patch)
tree5ae5e25bb15177a9827e1ed4a81a4310faa59d79 /pkgs/applications/misc
parent21a200d6b21e7c28540203306b61c73f63f41ace (diff)
downloadnixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar.gz
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar.bz2
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar.lz
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar.xz
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.tar.zst
nixlib-740cd9b5f446cdfb32ea2845c20e5e9a93297197.zip
LyX: add support for spell checking via enchant.
Also comment on testing of other config options.
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/lyx/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
index 0d0fbe4a5d64..cb832ed99f5c 100644
--- a/pkgs/applications/misc/lyx/default.nix
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -1,6 +1,5 @@
-# I haven't put much effort into this expressions .. so some optional depencencies may be missing - Marc
 { fetchurl, stdenv, texLive, python, makeWrapper, pkgconfig
-, libX11, qt
+, libX11, qt4, enchant #, mythes, boost
 }:
 
 stdenv.mkDerivation rec {
@@ -12,7 +11,17 @@ stdenv.mkDerivation rec {
     sha256 = "137dzmz1z6aqz9mdj8gmmi0k60s9sfn6gy916j175cwzq6hpncb8";
   };
 
-  buildInputs = [texLive qt python makeWrapper pkgconfig ];
+  configureFlags = [
+    #"--without-included-boost"
+    /*  Boost is a huge dependency from which 1.4 MB of libs would be used.
+        Using internal boost stuff only increases executable by around 0.2 MB. */
+    #"--without-included-mythes" # such a small library isn't worth a split package
+  ];
+
+  buildInputs = [
+    texLive qt4 python makeWrapper pkgconfig
+    enchant # mythes boost
+  ];
 
   meta = {
     description = "WYSIWYM frontend for LaTeX, DocBook, etc.";