From 2a9640533a677e8f9548db8aba09a51430effe48 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 23 Sep 2023 11:57:33 +0200 Subject: [PATCH] Add shell.nix --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3ee0422 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{pkgs ? import {}}: let + dotnet = with pkgs.dotnetCorePackages; + combinePackages [ + sdk_7_0 + aspnetcore_7_0 + ]; +in + pkgs.mkShell { + packages = [dotnet]; + + DOTNET_ROOT = "${dotnet}"; + }