about summary refs log tree commit diff
path: root/pkgs/build-support/dotnet
diff options
context:
space:
mode:
authorAndreas Stührk <andy@hammerhartes.de>2023-03-01 12:36:35 +0100
committerAndreas Stührk <andy@hammerhartes.de>2023-03-01 14:15:33 +0100
commitb76ce89dfcf42b4ea015f8e794dbf9ada8a05cc4 (patch)
treec8916f94c2a62b72fe65e6db882c8d15a0927c2c /pkgs/build-support/dotnet
parent8df3f2b74c7f0210025eaa644538b7c1429c7b9c (diff)
buildDotnetModule: add support for args with spaces in makeWrapperArgs
Diffstat (limited to 'pkgs/build-support/dotnet')
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh3
1 files changed, 2 insertions, 1 deletions
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 59df9b319afba..27885238ef7bf 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.