From 1ba0dd503cf9df8411085bcb616e99d97b4b02c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= <39526136+Septias@users.noreply.github.com> Date: Wed, 2 Apr 2025 00:53:18 +0200 Subject: [PATCH] Add python and tox to flake.nix devshell (#6233) Without tox any python `scripts/make-python-env.sh` does not run. Maybe at some point we can even generate the environment for testing with `venvHook` like functionality. We could also add `python3` instead of fixing it to 3.11, but I don't know which version core expects --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index a30ce4472..527c463a6 100644 --- a/flake.nix +++ b/flake.nix @@ -584,6 +584,9 @@ cargo-nextest perl # needed to build vendored OpenSSL git-cliff + (python3.withPackages (pypkgs: with pypkgs; [ + tox + ])) ]; }; }