dotnetCorePackages.dotnet_{8,9,10}.aspnetcore: copy App package only
In dotnet 10, aspnetcore-runtime now includes dotnet-runtime as well. Previously it only included the App package. This allows the builder to work with all versions.
This commit is contained in:
@@ -227,7 +227,7 @@ let
|
||||
mkdir "$out"/bin
|
||||
ln -s "$out"/share/dotnet/dotnet "$out"/bin/dotnet
|
||||
|
||||
cp -Tr "$src/aspnetcore-runtime-${version}-${targetRid}" "$out"/share/dotnet
|
||||
cp -Tr "$src/aspnetcore-runtime-${version}-${targetRid}"/shared/Microsoft.AspNetCore.App "$out"/share/dotnet/shared/Microsoft.AspNetCore.App
|
||||
chmod +w "$out"/share/dotnet/shared
|
||||
|
||||
runHook postInstall
|
||||
|
||||
Reference in New Issue
Block a user