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;
|
inherit inputs pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
|
packages = [
|
||||||
|
pkgs.python311Packages.ruff
|
||||||
|
];
|
||||||
languages.python = {
|
languages.python = {
|
||||||
enable = true;
|
enable = true;
|
||||||
version = "3.11";
|
version = "3.11";
|
||||||
|
|
Loading…
Reference in a new issue