install ruff from nixpkgs
All checks were successful
Actions / Build (push) Successful in 12s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 26s

because ruff is a rust binary and not an actual python module, it cannot run on NixOS natively. that means that installing it through `uv sync` or `uv tool run ruff` does NOT work, and we need to install the `pkgs.python311Packages.ruff` package from nixpkgs instead
This commit is contained in:
Seaswimmer 2024-12-08 10:09:13 -05:00
parent 317de057fc
commit f08de43ffc
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -44,6 +44,9 @@
inherit inputs pkgs;
modules = [
{
packages = [
pkgs.python311Packages.ruff
];
languages.python = {
enable = true;
version = "3.11";