Add shell.nix

This commit is contained in:
2023-09-23 11:57:33 +02:00
parent 4ddf9f8f27
commit 2a9640533a

12
shell.nix Normal file
View File

@@ -0,0 +1,12 @@
{pkgs ? import <nixpkgs> {}}: let
dotnet = with pkgs.dotnetCorePackages;
combinePackages [
sdk_7_0
aspnetcore_7_0
];
in
pkgs.mkShell {
packages = [dotnet];
DOTNET_ROOT = "${dotnet}";
}