From 3dfc37f1bbb22243d80f7912e751bb0d4d03570e Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 18 Mar 2022 18:06:59 +0100 Subject: [PATCH] extend the development environment --- .envrc | 2 ++ .gitignore | 1 + shell.nix | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..93fe653 --- /dev/null +++ b/.envrc @@ -0,0 +1,2 @@ +use nix +eval "$shellHook" diff --git a/.gitignore b/.gitignore index 4032c16..f7b11f6 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,4 @@ __pycache__/ venv/ nohup.out result +/.direnv/ diff --git a/shell.nix b/shell.nix index 7b99fac..99a5730 100644 --- a/shell.nix +++ b/shell.nix @@ -5,6 +5,12 @@ pkgs.mkShell { git nixFlakes python3 + python39Packages.autopep8 + python39Packages.black + python39Packages.flake8 + python39Packages.jedi + python39Packages.pip + python39Packages.yapf ]; shellHook = ''