ruff: use ruff-lsp, not the python3.pkgs.ruff-lsp alias

Without the change `tests` eval fails as:

    $ nix build --no-link -f. ruff.tests --arg config '{ allowAliases = false; }'
    error: attribute 'ruff-lsp' missing
        40843|   ruff = callPackage ../development/tools/ruff {
             |                                                 ^
        40844|     inherit (python3.pkgs) ruff-lsp;
This commit is contained in:
Sergei Trofimovich
2023-12-31 21:36:04 +00:00
parent e5f6890469
commit c5be9c5bb6
+1 -3
View File
@@ -40840,9 +40840,7 @@ with pkgs;
rucksack = callPackage ../development/tools/rucksack { };
ruff = callPackage ../development/tools/ruff {
inherit (python3.pkgs) ruff-lsp;
};
ruff = callPackage ../development/tools/ruff { };
sam-ba = callPackage ../tools/misc/sam-ba { };