install ruff from nixpkgs
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:
parent
317de057fc
commit
f08de43ffc
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@
|
|||
inherit inputs pkgs;
|
||||
modules = [
|
||||
{
|
||||
packages = [
|
||||
pkgs.python311Packages.ruff
|
||||
];
|
||||
languages.python = {
|
||||
enable = true;
|
||||
version = "3.11";
|
||||
|
|
Loading…
Reference in a new issue