From ec3c3288314628fd477f9fdd15620d40aa96d536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Fri, 12 Jul 2024 11:54:05 +0200 Subject: [PATCH] Bump dotnet from 6 to 8 --- flake.nix | 2 +- moe.csproj | 2 +- nix/package.nix | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8306ebb..693d844 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,7 @@ packages.default = pkgs.callPackage ./nix/package.nix { inherit version; }; devShells.default = pkgs.mkShell { packages = with pkgs; [ - dotnet-sdk_6 + dotnet-sdk_8 ]; }; }); diff --git a/moe.csproj b/moe.csproj index e155b8c..6ddfbad 100644 --- a/moe.csproj +++ b/moe.csproj @@ -1,7 +1,7 @@ Exe - net6.0 + net8.0 enable enable 1.6.2 diff --git a/nix/package.nix b/nix/package.nix index f4ee333..05944bf 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -1,6 +1,8 @@ { buildDotnetModule , lib , version +, dotnet-sdk_8 +, dotnet-runtime_8 }: buildDotnetModule { @@ -14,6 +16,9 @@ buildDotnetModule { projectFile = [ "moe.csproj" ]; + dotnet-sdk = dotnet-sdk_8; + dotnet-runtime = dotnet-runtime_8; + executables = [ "moe" ]; meta = with lib; {