From 1f8d3db4f9c05907f6723ec4e83bfc77e266dd08 Mon Sep 17 00:00:00 2001 From: kenny Date: Tue, 20 May 2025 22:40:27 +0300 Subject: [PATCH] dotnet: version 9 + added python *especially py2cfg for static analysis) --- dotnet.nix | 2 +- python.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 python.nix diff --git a/dotnet.nix b/dotnet.nix index 9e7228c..59aa796 100644 --- a/dotnet.nix +++ b/dotnet.nix @@ -4,7 +4,7 @@ let # Rolling updates, not deterministic. pkgs = import (fetchTarball "channel:nixpkgs-unstable") { }; in pkgs.mkShell { - buildInputs = [ pkgs.dotnet-sdk ]; + buildInputs = [ pkgs.dotnet-sdk_9 ]; shellHook = '' exec zsh ''; diff --git a/python.nix b/python.nix new file mode 100644 index 0000000..81ffd4c --- /dev/null +++ b/python.nix @@ -0,0 +1,8 @@ +let pkgs = import (fetchTarball "channel:nixpkgs-unstable") { }; +in pkgs.mkShell { + packages = + [ (pkgs.python3.withPackages (python-pkgs: [ python-pkgs.py2cfg ])) ]; + shellHook = '' + exec zsh + ''; +}