feat: add shell.nix

This commit is contained in:
Daniel Langbein 2023-10-05 16:16:53 +02:00
parent fe4377a522
commit d6b4af9d6a
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

8
shell.nix Normal file
View File

@ -0,0 +1,8 @@
# https://nixos.wiki/wiki/Python#Development_shell
{ pkgs ? import <nixpkgs> {} }:
let
my-python-packages = ps: with ps; [
psutil
];
my-python = pkgs.python3.withPackages my-python-packages;
in my-python.env