buildDotnetModule: add support for installing pre-release tools (#374663)

This commit is contained in:
David McFarland
2025-02-01 20:12:14 -04:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ buildDotnetModule (
installPhase = ''
runHook preInstall
dotnet tool install --tool-path $out/lib/${pname} ${nugetName}
dotnet tool install --tool-path $out/lib/${pname} ${nugetName} --version ${version}
# remove files that contain nix store paths to temp nuget sources we made
find $out -name 'project.assets.json' -delete