From 99c274e8e29df2618a95a3a241eb08835494e70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 19 Mar 2024 06:11:41 +0000 Subject: [PATCH] fix eval --- nix/tools.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix/tools.nix b/nix/tools.nix index 54b7d4c7..75ef3a12 100644 --- a/nix/tools.nix +++ b/nix/tools.nix @@ -159,11 +159,14 @@ in inherit (nodePackages) eslint markdownlint-cli prettier pyright cspell; inherit (ocamlPackages) ocp-indent; inherit (python3Packages) autoflake black flake8 flynt isort mkdocs-linkcheck mypy pylint pyupgrade; - inherit (php82Packages) php-cs-fixer phpcbf phpcs psalm; + inherit (php82Packages) php-cs-fixer psalm; # FIXME: workaround build failure phpstan = php82Packages.phpstan.overrideAttrs (old: { composerStrictValidation = false; }); + # these two are for backwards compatibility + phpcbf = php82Packages.php-codesniffer or php82Packages.phpcbf; + phpcs = php82Packages.php-codesniffer or php82Packages.phpcs; lua-language-server = lua-language-server; purs-tidy = nodePackages.purs-tidy or null; cabal2nix-dir = callPackage ./cabal2nix-dir { };