From 6588f916f3e6854504bf0f167d94977e6d89b4c8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 5 Apr 2025 12:14:18 +0800 Subject: [PATCH] shells/dotnet: init --- shells/default.nix | 2 ++ shells/dotnet.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 shells/dotnet.nix diff --git a/shells/default.nix b/shells/default.nix index d48cc918..418fb65a 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -3,6 +3,8 @@ with pkgs; { cloud = callPackage ./cloud.nix { }; creatives = callPackage ./creatives.nix { }; + dotnet_8 = callPackage ./dotnet.nix { dotnet-sdk = dotnet-sdk_8; dotnet-runtime = dotnet-runtime_8; }; + dotnet_9 = callPackage ./dotnet.nix { dotnet-sdk = dotnet-sdk_9; dotnet-runtime = dotnet-runtime_9; }; flatpak = callPackage ./flatpak.nix { }; gnu = callPackage ./gnu.nix { }; gnome = callPackage ./gnome.nix { }; diff --git a/shells/dotnet.nix b/shells/dotnet.nix new file mode 100644 index 00000000..f4548fb9 --- /dev/null +++ b/shells/dotnet.nix @@ -0,0 +1,10 @@ +{ lib, dotnet-runtime, dotnet-sdk, mkShell }: + +mkShell { + packages = [ + dotnet-runtime + dotnet-sdk + ]; + + inputsFrom = [ dotnet-sdk ]; +}