From 50adc53207cc7c5697d8c7581222d5c1cbe73b2b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 27 Mar 2017 18:23:49 +0300 Subject: [PATCH] buildDotnetPackage: don't depend on invalid quoting in makeWrapper Fixes #24387. --- pkgs/build-support/build-dotnet-package/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/build-dotnet-package/default.nix b/pkgs/build-support/build-dotnet-package/default.nix index 3d24f6fb4340..2b1b34429c57 100644 --- a/pkgs/build-support/build-dotnet-package/default.nix +++ b/pkgs/build-support/build-dotnet-package/default.nix @@ -102,8 +102,9 @@ attrsOrig @ mkdir -p "$out"/bin commandName="$(basename -s .exe "$(echo "$exe" | tr "[A-Z]" "[a-z]")")" makeWrapper \ - "${mono}/bin/mono \"$exe\"" \ + "${mono}/bin/mono" \ "$out"/bin/"$commandName" \ + --add-flags "\"$exe\"" \ ''${makeWrapperArgs} done done