nuspell: fix wrapper arguments escaping

This commit is contained in:
Naïm Favier 2022-05-06 18:32:20 +02:00
parent 215fcc7256
commit 2f341cd427
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" nuspell).name;
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
makeWrapper ${nuspell}/bin/nuspell $out/bin/nuspell --prefix DICPATH : ${searchPath}
makeWrapper ${nuspell}/bin/nuspell $out/bin/nuspell --prefix DICPATH : ${lib.escapeShellArg searchPath}
'';
meta = removeAttrs nuspell.meta ["outputsToInstall"];
}