@@ -64,21 +64,21 @@ MixFlakeOptions::MixFlakeOptions()
6464 .handler = {[&]() {
6565 lockFlags.recreateLockFile = true ;
6666 warn (" '--recreate-lock-file' is deprecated and will be removed in a future version; use 'nix flake update' instead." );
67- }}
67+ }},
6868 });
6969
7070 addFlag ({
7171 .longName = " no-update-lock-file" ,
7272 .description = " Do not allow any updates to the flake's lock file." ,
7373 .category = category,
74- .handler = {&lockFlags.updateLockFile , false }
74+ .handler = {&lockFlags.updateLockFile , false },
7575 });
7676
7777 addFlag ({
7878 .longName = " no-write-lock-file" ,
7979 .description = " Do not write the flake's newly generated lock file." ,
8080 .category = category,
81- .handler = {&lockFlags.writeLockFile , false }
81+ .handler = {&lockFlags.writeLockFile , false },
8282 });
8383
8484 addFlag ({
@@ -94,14 +94,14 @@ MixFlakeOptions::MixFlakeOptions()
9494 .handler = {[&]() {
9595 lockFlags.useRegistries = false ;
9696 warn (" '--no-registries' is deprecated; use '--no-use-registries'" );
97- }}
97+ }},
9898 });
9999
100100 addFlag ({
101101 .longName = " commit-lock-file" ,
102102 .description = " Commit changes to the flake's lock file." ,
103103 .category = category,
104- .handler = {&lockFlags.commitLockFile , true }
104+ .handler = {&lockFlags.commitLockFile , true },
105105 });
106106
107107 addFlag ({
@@ -121,7 +121,7 @@ MixFlakeOptions::MixFlakeOptions()
121121 }},
122122 .completer = {[&](AddCompletions & completions, size_t , std::string_view prefix) {
123123 completeFlakeInputAttrPath (completions, getEvalState (), getFlakeRefsForCompletion (), prefix);
124- }}
124+ }},
125125 });
126126
127127 addFlag ({
@@ -141,7 +141,7 @@ MixFlakeOptions::MixFlakeOptions()
141141 } else if (n == 1 ) {
142142 completeFlakeRef (completions, getEvalState ()->store , prefix);
143143 }
144- }}
144+ }},
145145 });
146146
147147 addFlag ({
@@ -152,7 +152,7 @@ MixFlakeOptions::MixFlakeOptions()
152152 .handler = {[&](std::string lockFilePath) {
153153 lockFlags.referenceLockFilePath = {getFSSourceAccessor (), CanonPath (absPath (lockFilePath))};
154154 }},
155- .completer = completePath
155+ .completer = completePath,
156156 });
157157
158158 addFlag ({
@@ -163,7 +163,7 @@ MixFlakeOptions::MixFlakeOptions()
163163 .handler = {[&](std::string lockFilePath) {
164164 lockFlags.outputLockFilePath = lockFilePath;
165165 }},
166- .completer = completePath
166+ .completer = completePath,
167167 });
168168
169169 addFlag ({
@@ -190,7 +190,7 @@ MixFlakeOptions::MixFlakeOptions()
190190 }},
191191 .completer = {[&](AddCompletions & completions, size_t , std::string_view prefix) {
192192 completeFlakeRef (completions, getEvalState ()->store , prefix);
193- }}
193+ }},
194194 });
195195}
196196
@@ -206,15 +206,15 @@ SourceExprCommand::SourceExprCommand()
206206 .category = installablesCategory,
207207 .labels = {" file" },
208208 .handler = {&file},
209- .completer = completePath
209+ .completer = completePath,
210210 });
211211
212212 addFlag ({
213213 .longName = " expr" ,
214214 .description = " Interpret [*installables*](@docroot@/command-ref/new-cli/nix.md#installables) as attribute paths relative to the Nix expression *expr*." ,
215215 .category = installablesCategory,
216216 .labels = {" expr" },
217- .handler = {&expr}
217+ .handler = {&expr},
218218 });
219219}
220220
@@ -834,7 +834,7 @@ RawInstallablesCommand::RawInstallablesCommand()
834834 addFlag ({
835835 .longName = " stdin" ,
836836 .description = " Read installables from the standard input. No default installable applied." ,
837- .handler = {&readFromStdIn, true }
837+ .handler = {&readFromStdIn, true },
838838 });
839839
840840 expectArgs ({
0 commit comments