ibus-engines.typing-booster: fix wrapper arguments escaping

This commit is contained in:
Naïm Favier 2022-05-06 18:36:04 +02:00
parent 9c5fb74132
commit 163f8185b0
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -20,7 +20,7 @@ symlinkJoin {
postBuild = ''
for i in bin/emoji-picker libexec/ibus-{setup,engine}-typing-booster; do
wrapProgram "$out/$i" \
--prefix NIX_HUNSPELL_DIRS : ${hunspellDirs}
--prefix NIX_HUNSPELL_DIRS : ${lib.escapeShellArg hunspellDirs}
done
sed -i -e "s,${typing-booster},$out," $out/share/ibus/component/typing-booster.xml