diff --git a/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh b/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh index 5d657eaf3122..4af67889b28b 100644 --- a/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh +++ b/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh @@ -16,6 +16,7 @@ _linkPackages() { local -r src="$1" local -r dest="$2" local dir + local x for x in "$src"/*/*; do dir=$dest/$(basename "$(dirname "$x")") @@ -39,6 +40,8 @@ createNugetDirs() { } configureNuget() { + local x + for x in "${!_nugetInputs[@]}"; do if [[ -d $x/share/nuget/packages ]]; then addToSearchPathWithCustomDelimiter ";" NUGET_FALLBACK_PACKAGES "$x/share/nuget/packages"