libreoffice: Load Hyphen dictionaries
This commit is contained in:
@@ -50,9 +50,13 @@ let
|
|||||||
# Add dictionaries from all NIX_PROFILES
|
# Add dictionaries from all NIX_PROFILES
|
||||||
"--run" (lib.escapeShellArg ''
|
"--run" (lib.escapeShellArg ''
|
||||||
for PROFILE in $NIX_PROFILES; do
|
for PROFILE in $NIX_PROFILES; do
|
||||||
HDIR="$PROFILE/share/hunspell"
|
HU_DIR="$PROFILE/share/hunspell"
|
||||||
if [ -d "$HDIR" ]; then
|
HY_DIR="$PROFILE/share/hyphen"
|
||||||
export DICPATH=$DICPATH''${DICPATH:+:}$HDIR
|
if [ -d "$HU_DIR" ]; then
|
||||||
|
export DICPATH=$DICPATH''${DICPATH:+:}$HU_DIR
|
||||||
|
fi
|
||||||
|
if [ -d "$HY_DIR" ]; then
|
||||||
|
export DICPATH=$DICPATH''${DICPATH:+:}$HY_DIR
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
'')
|
'')
|
||||||
|
|||||||
Reference in New Issue
Block a user