From 9a04830f93ea80c9fc0bf4cf883a4fcf30d0944c Mon Sep 17 00:00:00 2001 From: Jonathan Conder Date: Fri, 14 Jun 2024 10:18:35 +1200 Subject: [PATCH] fix: pyright has moved out of nodePackages See https://github.com/NixOS/nixpkgs/pull/302680 --- nix/tools.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/tools.nix b/nix/tools.nix index a04dc1bf..d3a195ce 100644 --- a/nix/tools.nix +++ b/nix/tools.nix @@ -53,6 +53,7 @@ , poetry , pre-commit-hook-ensure-sops ? null , python3Packages +, pyright ? nodePackages.pyright , php82Packages , ripsecrets ? null , ruff ? null @@ -131,6 +132,7 @@ in ormolu pre-commit-hook-ensure-sops poetry + pyright revive ripsecrets ruff @@ -155,7 +157,7 @@ in # TODO: these two should be statically compiled inherit (haskellPackages) fourmolu; inherit (luaPackages) luacheck; - inherit (nodePackages) eslint markdownlint-cli prettier pyright cspell; + inherit (nodePackages) eslint markdownlint-cli prettier cspell; inherit (ocamlPackages) ocp-indent; inherit (python3Packages) autoflake black flake8 flynt isort mkdocs-linkcheck mypy pre-commit-hooks pylint pyupgrade; inherit (php82Packages) php-cs-fixer psalm;