msbuild: use dotnet 8 sdk

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