From 9c2e2b3c5d907b0c0093a15483236cef9f93505d Mon Sep 17 00:00:00 2001 From: Sean Krueger Date: Fri, 7 Jun 2024 18:09:42 -0500 Subject: [PATCH] Install ruff via nixpkgs --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 23df6225..2549173e 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,7 @@ python312Packages.pip python312Packages.pyusb # fixes the pyusb 'No backend available' when installed directly via pip python312Packages.venvShellHook # Initializes a venv in $venvDir + ruff # Ruff cannot be installed via pip libgcc glib @@ -82,6 +83,7 @@ echo Installing dependencies into virtual environment pip install -r requirements.txt pip install -r requirements-dev.txt + pip uninstall -y ruff # Hacky solution to not fight with other dev deps ''; # set the environment variables that Qt apps expect