From 149eb99d5e52947659834cb0c74fd9218ae55b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Mon, 20 Jan 2025 10:01:38 +0100 Subject: [PATCH] buildDotnetModule: add support for installing pre-release tools --- pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix b/pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix index 206aea51f2634..82137b30e24c0 100644 --- a/pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix +++ b/pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix @@ -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