From 85a2f5d3c8ea70ea08ef0ec1c88c1a5afe373c6c Mon Sep 17 00:00:00 2001 From: Isaac Corbrey Date: Thu, 19 Feb 2026 15:58:19 -0500 Subject: [PATCH] dotnet: Add .NET 10 --- modules/home/dotnet.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/home/dotnet.nix b/modules/home/dotnet.nix index d066b59..c5aa742 100644 --- a/modules/home/dotnet.nix +++ b/modules/home/dotnet.nix @@ -14,6 +14,11 @@ # Default to current supported SDKs; legacy/EOL versions (6/7) are only # added when allowInsecure is enabled. default = builtins.filter (pkg: pkg != null) [ + ( + if pkgs ? dotnet-sdk_10 + then pkgs.dotnet-sdk_10 + else null + ) ( if pkgs ? dotnet-sdk_9 then pkgs.dotnet-sdk_9 @@ -26,7 +31,7 @@ ) ]; description = "List of .NET SDK packages to install."; - defaultText = "Supported SDKs (8/9 on unstable)"; + defaultText = "Supported SDKs (8/9/10 on unstable)"; }; omnisharp = utils.mkToggle "omnisharp" true; allowInsecure = lib.mkOption { @@ -39,6 +44,11 @@ config = let dotnet = config.modules.home.dotnet; allKnownSdkPkgs = builtins.filter (pkg: pkg != null) [ + ( + if pkgs ? dotnet-sdk_10 + then pkgs.dotnet-sdk_10 + else null + ) ( if pkgs ? dotnet-sdk_9 then pkgs.dotnet-sdk_9 -- 2.51.2