File tree Expand file tree Collapse file tree 3 files changed +17
-21
lines changed Expand file tree Collapse file tree 3 files changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ nix develop
90
90
# override a package with a different version
91
91
ormolu.enable = true;
92
92
ormolu.package = pkgs.haskellPackages.ormolu;
93
+ ormolu.settings.defaultExtensions = [ "lhs" "hs" ];
93
94
94
95
# some hooks have more than one package, like clippy:
95
96
clippy.enable = true;
@@ -98,14 +99,6 @@ nix develop
98
99
# some hooks provide settings
99
100
clippy.settings.allFeatures = true;
100
101
};
101
-
102
- # Set the pkgs to get the tools for the hooks from.
103
- # tools = pkgs;
104
-
105
- # Some hooks offer custom settings that affect how they execute
106
- settings = {
107
- ormolu.defaultExtensions = [ "lhs" "hs" ];
108
- };
109
102
};
110
103
}
111
104
```
Original file line number Diff line number Diff line change 159
159
inherit ( nodePackages ) eslint markdownlint-cli prettier pyright cspell ;
160
160
inherit ( ocamlPackages ) ocp-indent ;
161
161
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 ;
163
163
# FIXME: workaround build failure
164
164
phpstan = php82Packages . phpstan . overrideAttrs ( old : {
165
165
composerStrictValidation = false ;
166
166
} ) ;
167
+ # these two are for backwards compatibility
168
+ phpcbf = php82Packages . php-codesniffer or php82Packages . phpcbf ;
169
+ phpcs = php82Packages . php-codesniffer or php82Packages . phpcs ;
167
170
lua-language-server = lua-language-server ;
168
171
purs-tidy = nodePackages . purs-tidy or null ;
169
172
cabal2nix-dir = callPackage ./cabal2nix-dir { } ;
You can’t perform that action at this time.
0 commit comments