From b76ce89dfcf42b4ea015f8e794dbf9ada8a05cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Wed, 1 Mar 2023 12:36:35 +0100 Subject: [PATCH] buildDotnetModule: add support for args with spaces in makeWrapperArgs --- .../dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh b/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh index 59df9b319afb..27885238ef7b 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh +++ b/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh @@ -1,5 +1,6 @@ # Inherit arguments from the derivation -makeWrapperArgs=( ${makeWrapperArgs-} ) +declare -a derivationMakeWrapperArgs="( ${makeWrapperArgs-} )" +makeWrapperArgs=( "${derivationMakeWrapperArgs[@]}" ) # First argument is the executable you want to wrap, # the second is the destination for the wrapper.