summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-05-06 18:32:20 +0200
committerNaïm Favier <n@monade.li>2022-05-12 20:32:53 +0200
commit2f341cd4272266ca21065b789c3d9d416b1ec0ad (patch)
tree99f5aedacd97b2ed8339b99abb379889fcd84204
parent215fcc7256e82356be1ba733e6b326a82f7ef055 (diff)
downloadnixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar.gz
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar.bz2
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar.lz
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar.xz
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.tar.zst
nixpkgs-2f341cd4272266ca21065b789c3d9d416b1ec0ad.zip
nuspell: fix wrapper arguments escaping
-rw-r--r--pkgs/development/libraries/nuspell/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/nuspell/wrapper.nix b/pkgs/development/libraries/nuspell/wrapper.nix
index ab09931579c..64108c33b7c 100644
--- a/pkgs/development/libraries/nuspell/wrapper.nix
+++ b/pkgs/development/libraries/nuspell/wrapper.nix
@@ -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"];
 }