buildDotnetModule: add support for installing pre-release tools

This commit is contained in:
Gaël James
2025-02-01 02:11:53 +01:00
parent 9d52b7a886
commit 82eb5818d3
@@ -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