soapysdr: fix wrapper arguments escaping

This commit is contained in:
Naïm Favier 2022-05-06 18:29:16 +02:00
parent 5f3016cde8
commit 6d230e4e0a
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -42,7 +42,7 @@ in stdenv.mkDerivation {
done
# Needed for at least the remote plugin server
for file in $out/bin/*; do
wrapProgram "$file" --prefix SOAPY_SDR_PLUGIN_PATH : ${extraPackagesSearchPath}
wrapProgram "$file" --prefix SOAPY_SDR_PLUGIN_PATH : ${lib.escapeShellArg extraPackagesSearchPath}
done
'';