Skip to content

Commit 99c274e

Browse files
committed
fix eval
1 parent db909b7 commit 99c274e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nix/tools.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,14 @@ in
159159
inherit (nodePackages) eslint markdownlint-cli prettier pyright cspell;
160160
inherit (ocamlPackages) ocp-indent;
161161
inherit (python3Packages) autoflake black flake8 flynt isort mkdocs-linkcheck mypy pylint pyupgrade;
162-
inherit (php82Packages) php-cs-fixer phpcbf phpcs psalm;
162+
inherit (php82Packages) php-cs-fixer psalm;
163163
# FIXME: workaround build failure
164164
phpstan = php82Packages.phpstan.overrideAttrs (old: {
165165
composerStrictValidation = false;
166166
});
167+
# these two are for backwards compatibility
168+
phpcbf = php82Packages.php-codesniffer or php82Packages.phpcbf;
169+
phpcs = php82Packages.php-codesniffer or php82Packages.phpcs;
167170
lua-language-server = lua-language-server;
168171
purs-tidy = nodePackages.purs-tidy or null;
169172
cabal2nix-dir = callPackage ./cabal2nix-dir { };

0 commit comments

Comments
 (0)