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 102102 default = false ;
103103 example = true ;
104104 } ;
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+ } ;
105111 exclude =
106112 mkOption {
107113 type = types . listOf types . str ;
21602166 cmdArgs =
21612167 mkCmdArgs ( with hooks . alejandra . settings ; [
21622168 [ check "--check" ]
2169+ [ ( configPath != null ) "--experimental-config ${ configPath } " ]
21632170 [ ( exclude != [ ] ) "--exclude ${ lib . strings . concatStringsSep " --exclude " ( map lib . escapeShellArg ( lib . unique exclude ) ) } " ]
21642171 [ ( verbosity == "quiet" ) "-q" ]
21652172 [ ( verbosity == "silent" ) "-qq" ]
You can’t perform that action at this time.
0 commit comments