diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2012-08-07 14:45:18 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2012-08-07 16:06:13 +0200 |
commit | 740cd9b5f446cdfb32ea2845c20e5e9a93297197 (patch) | |
tree | 5ae5e25bb15177a9827e1ed4a81a4310faa59d79 /pkgs/applications/misc | |
parent | 21a200d6b21e7c28540203306b61c73f63f41ace (diff) | |
download | nixlib-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.nix | 15 |
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."; |