File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 102
102
default = false ;
103
103
example = true ;
104
104
} ;
105
+ configPath =
106
+ mkOption {
107
+ type = types . nullOr ( types . oneOf [ types . str types . path ] ) ;
108
+ description = "(experimental) Path to the alejandra.toml configuration file." ;
109
+ default = null ;
110
+ } ;
105
111
exclude =
106
112
mkOption {
107
113
type = types . listOf types . str ;
2160
2166
cmdArgs =
2161
2167
mkCmdArgs ( with hooks . alejandra . settings ; [
2162
2168
[ check "--check" ]
2169
+ [ ( configPath != null ) "--experimental-config ${ configPath } " ]
2163
2170
[ ( exclude != [ ] ) "--exclude ${ lib . strings . concatStringsSep " --exclude " ( map lib . escapeShellArg ( lib . unique exclude ) ) } " ]
2164
2171
[ ( verbosity == "quiet" ) "-q" ]
2165
2172
[ ( verbosity == "silent" ) "-qq" ]
You can’t perform that action at this time.
0 commit comments