Skip to content

Commit

Permalink
Bump dotnet from 6 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Jul 12, 2024
1 parent 64c2b8e commit ec3c328
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
};
});
Expand Down
2 changes: 1 addition & 1 deletion moe.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.6.2</Version>
Expand Down
5 changes: 5 additions & 0 deletions nix/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ buildDotnetModule
, lib
, version
, dotnet-sdk_8
, dotnet-runtime_8
}:

buildDotnetModule {
Expand All @@ -14,6 +16,9 @@ buildDotnetModule {

projectFile = [ "moe.csproj" ];

dotnet-sdk = dotnet-sdk_8;
dotnet-runtime = dotnet-runtime_8;

executables = [ "moe" ];

meta = with lib; {
Expand Down

0 comments on commit ec3c328

Please sign in to comment.