about summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/src-still
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2020-02-17 14:50:38 +0100
committerMartin Milata <martin@martinmilata.cz>2020-02-18 14:55:03 +0100
commitc95bfd235b6a94a9bf748abff408f9a598974183 (patch)
treecdc4dbf2abe9de5549e3869083f9c53383537ae3 /pkgs/applications/office/libreoffice/src-still
parent583950cdd26aca2e5d895827124a0a523c4bb3a5 (diff)
libreoffice: wrapper: add hunspell dirs to DICPATH
LibreOffice doesn't know where to look for hunspell dictionaries on
NixOS but we can use the DICPATH env var to point to them. Now
spellchecking with system dictionaries works.

Note that some of these dictionaries are built from LibreOffice repos -
this is preferable to building them as part of LO as other applications
can use them.
Diffstat (limited to 'pkgs/applications/office/libreoffice/src-still')
-rw-r--r--pkgs/applications/office/libreoffice/src-still/primary.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/office/libreoffice/src-still/primary.nix b/pkgs/applications/office/libreoffice/src-still/primary.nix
index a27087a1b051a..502bcc54d0ca1 100644
--- a/pkgs/applications/office/libreoffice/src-still/primary.nix
+++ b/pkgs/applications/office/libreoffice/src-still/primary.nix
@@ -25,7 +25,8 @@ rec {
     sha256 = "1l5v9bb7n9s6i24q4mdyqyp5v4f8iy0a9dmpgw649vngj1zxdxfh";
   };
 
-  # TODO: dictionaries
+  # the "dictionaries" archive is not used for LO build because we already build hunspellDicts packages from
+  # it and LibreOffice can use these by pointing DICPATH environment variable at the hunspell directory
 
   help = fetchSrc {
     name = "help";