hunspell: fix wrapper arguments escaping

This commit is contained in:
Naïm Favier 2022-05-06 18:32:09 +02:00
parent 78f3ef31e7
commit 215fcc7256
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation {
name = (appendToName "with-dicts" hunspell).name;
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
makeWrapper ${hunspell.bin}/bin/hunspell $out/bin/hunspell --prefix DICPATH : ${searchPath}
makeWrapper ${hunspell.bin}/bin/hunspell $out/bin/hunspell --prefix DICPATH : ${lib.escapeShellArg searchPath}
'';
meta = removeAttrs hunspell.meta ["outputsToInstall"];
}