msbuild: use dotnet 8 sdk

+3 -3
+3 -3
pkgs/by-name/ms/msbuild/package.nix
··· 12 12 13 13 let 14 14 15 - dotnet-sdk = dotnetCorePackages.sdk_6_0-bin; 15 + dotnet-sdk = dotnetCorePackages.sdk_8_0-source; 16 16 17 17 xplat = fetchurl { 18 18 url = "https://github.com/mono/msbuild/releases/download/v16.9.0/mono_msbuild_6.12.0.137.zip"; ··· 83 83 # The provided libhostfxr.dylib is for x86_64-darwin, so we remove it 84 84 rm artifacts/mono-msbuild/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/libhostfxr.dylib 85 85 86 - ln -s $(find ${dotnet-sdk.unwrapped}/share/dotnet -name libhostfxr${sharedLibrary}) artifacts/mono-msbuild/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/ 86 + ln -s $(find ${dotnet-sdk.unwrapped}/share/dotnet/host -name libhostfxr${sharedLibrary}) artifacts/mono-msbuild/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/ 87 87 88 88 # overwrite the file 89 89 echo "#!${stdenv.shell}" > eng/common/dotnet-install.sh ··· 110 110 --set-default MONO_GC_PARAMS "nursery-size=64m" \ 111 111 --add-flags "$out/lib/mono/msbuild/15.0/bin/MSBuild.dll" 112 112 113 - ln -s $(find ${dotnet-sdk.unwrapped}/share/dotnet -name libhostfxr${sharedLibrary}) $out/lib/mono/msbuild/Current/bin/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/ 113 + ln -s $(find ${dotnet-sdk.unwrapped}/share/dotnet/host -name libhostfxr${sharedLibrary}) $out/lib/mono/msbuild/Current/bin/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver/ 114 114 ''; 115 115 116 116 doInstallCheck = true;