nix-super/src/nix
zimbatm c4766d7b8b fix(nix fmt): remove the default "." argument
When `nix fmt` is called without an argument, Nix appends the "." argument before calling the formatter. The comment in the code is:
> Format the current flake out of the box

This also happens when formatting sub-folders.

This means that the formatter is now unable to distinguish, as an interface, whether the "." argument is coming from the flake or the user's intent to format the current folder. This decision should be up to the formatter.

Treefmt, for example, will automatically look up the project's root and format all the files. This is the desired behaviour. But because the "." argument is passed, it cannot function as expected.
2024-09-10 22:18:56 +02:00
..
realisation fix spelling mistakes reported by Debian's lintian tool 2022-01-30 10:51:39 +02:00
unix Factor out commonality between WorkerProto::Basic{Client,Server}Connection 2024-07-18 16:10:48 +02:00
.version Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
add-to-store.cc Cleanup ContentAddressMethod to match docs 2024-06-24 10:24:06 -04:00
add.md Add a new nix store add command 2023-11-15 19:21:17 +01:00
app.cc Clean up app.cc (#9201) 2023-10-22 22:56:46 +00:00
build-remote Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
build-utils-meson Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
build.cc Use std::filesystem::path in build.cc 2024-08-11 16:30:59 +05:30
build.md Update src/nix/build.md 2024-03-20 14:42:44 -07:00
bundle.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
bundle.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
cat.cc Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00
config-check.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
config.cc Split out GlobalConfig into its own header 2024-06-24 11:36:21 -04:00
copy.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
copy.md nix-copy: document --all --from local binary cache example 2024-03-11 19:17:45 +01:00
derivation-add.cc Create nix derivation add command 2023-04-07 08:34:58 -04:00
derivation-add.md move JSON section into Formats and Protocols 2024-02-08 09:13:58 +01:00
derivation-show.cc Rename files to reflect new nix derivation show name 2023-04-07 08:34:58 -04:00
derivation-show.md Document file system object content addressing 2024-05-15 16:28:48 -04:00
derivation.cc Improve the error message for “multicommands” commands (#9510) 2023-12-06 13:13:45 +00:00
develop.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
develop.md docs: make the nix develop --command example unambiguous (#8952) 2023-09-12 17:15:36 +02:00
diff-closures.cc diff-closures: remove gratuitous copy 2024-07-25 21:41:31 +02:00
diff-closures.md Add 'nix store diff-closures' manpage 2020-12-21 13:32:29 +01:00
doc Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
dump-path.cc Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00
edit.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
edit.md nix edit: support kakoune 2022-03-22 23:18:02 +09:00
env.cc Factor out lookupExecutable and other PATH improvments 2024-08-07 18:12:58 -04:00
eval.cc Fix build errors on Windows 2024-08-19 11:02:46 -04:00
eval.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
flake-archive.md Add 'nix flake' manpages 2020-12-23 18:26:40 +01:00
flake-check.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
flake-clone.md Add 'nix flake' manpages 2020-12-23 18:26:40 +01:00
flake-init.md docs: fix wiki link 2024-04-17 19:34:22 +02:00
flake-lock.md Overhaul nix flake update and lock commands 2023-10-31 15:33:57 +01:00
flake-metadata.md fix typos 2024-05-27 15:56:52 +02:00
flake-new.md Add 'nix flake' manpages 2020-12-23 18:26:40 +01:00
flake-prefetch.md nix store prefetch-tarball -> nix flake prefetch 2021-01-11 12:36:39 +01:00
flake-show.md Update docs 2022-02-22 14:32:56 +01:00
flake-update.md Overhaul nix flake update and lock commands 2023-10-31 15:33:57 +01:00
flake.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
flake.md Fix few duplicate word occurrences (#11381) 2024-08-28 07:01:56 +00:00
fmt.cc fix(nix fmt): remove the default "." argument 2024-09-10 22:18:56 +02:00
fmt.md Make a few commands that were Unix-only no longer 2024-04-17 16:20:56 -04:00
get-env.sh Do not rely on $stdenv/setup to set output variables 2024-04-10 19:50:19 +03:00
hash-convert.md nix hash convert: Add manpage 2024-01-29 17:51:01 +01:00
hash.cc Rename Recursive -> NixArchive 2024-06-24 10:24:06 -04:00
help-stores.md Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
help.md Add 'nix help' manpage 2020-12-21 13:32:29 +01:00
key-convert-secret-to-public.md Add commands for generating secret/public keys 2021-01-06 17:49:31 +01:00
key-generate-secret.md Fix missing ` in key manual 2022-06-08 11:46:50 +02:00
local.mk Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
log.cc Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00
log.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
ls.cc CanonPath, SourcePath: Change operator + to / 2024-02-05 15:17:39 +01:00
main.cc Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
make-content-addressed.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
make-content-addressed.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
meson.build Meson misc things 2024-08-27 10:19:55 -04:00
meson.options Meson misc things 2024-08-27 10:19:55 -04:00
misc Meson misc things 2024-08-27 10:19:55 -04:00
nar-cat.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
nar-dump-path.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
nar-ls.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
nar.cc Improve the error message for “multicommands” commands (#9510) 2023-12-06 13:13:45 +00:00
nar.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
nix-build Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-channel Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-collect-garbage Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-copy-closure Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-env Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-instantiate Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix-store Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
nix.md docs: installable remove alternate expression flag (#11254) 2024-08-04 23:03:21 +00:00
optimise-store.cc Add 'nix store optimise' manpage 2020-12-21 13:32:28 +01:00
optimise-store.md Add 'nix store optimise' manpage 2020-12-21 13:32:28 +01:00
package.nix Meson misc things 2024-08-27 10:19:55 -04:00
path-from-hash-part.cc Add command 'nix store path-from-hash-part' 2022-10-18 16:51:12 +02:00
path-from-hash-part.md Add command 'nix store path-from-hash-part' 2022-10-18 16:51:12 +02:00
path-info.cc dropEmptyInitThenConcatStringsSep -> concatStringSep: sigs are not empty 2024-07-13 03:06:24 +02:00
path-info.md Move printSize() into libutil 2024-05-13 11:52:38 +02:00
prefetch.cc No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
print-dev-env.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
profile-diff-closures.md Add 'nix profile' manpage 2020-12-21 13:32:29 +01:00
profile-history.md nix profile history: Show profile date 2021-09-14 20:47:33 +02:00
profile-install.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
profile-list.md nix profile: Remove indices 2023-12-22 16:21:30 +01:00
profile-remove.md profile: add --all option to match any package 2024-03-07 21:07:03 +01:00
profile-rollback.md Generations -> profile versions 2021-09-14 19:57:45 +02:00
profile-upgrade.md profile: add --all option to match any package 2024-03-07 21:07:03 +01:00
profile-wipe-history.md Add 'nix profile wipe-history' command 2021-09-14 20:35:41 +02:00
profile.cc Fix build errors on Windows 2024-08-19 11:02:46 -04:00
profile.md Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
profiles.md Package the Nix CLI with Meson 2024-07-08 17:49:44 -04:00
realisation.cc Improve the error message for “multicommands” commands (#9510) 2023-12-06 13:13:45 +00:00
registry-add.md nix registry: add --registry flag 2021-06-30 22:13:32 +03:00
registry-list.md Add 'nix registry' manpages 2020-12-21 13:32:27 +01:00
registry-pin.md docs: update registry examples 2024-03-14 16:15:52 +02:00
registry-remove.md nix registry: add --registry flag 2021-06-30 22:13:32 +03:00
registry.cc No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
registry.md doc: Fix typo 2022-06-28 22:43:37 -04:00
repl.cc Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
repl.md flakes: adopt repl-flake behavior as default 2023-09-27 20:47:10 -04:00
run.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
run.hh Clean up cache for all commands 2024-07-12 11:54:12 -07:00
run.md nix flake show: Support meta attribute for apps 2024-08-17 15:50:06 +05:30
scripts Meson misc things 2024-08-27 10:19:55 -04:00
search.cc Factor out lookupExecutable and other PATH improvments 2024-08-07 18:12:58 -04:00
search.md nix search: Disallow empty regex 2023-12-21 22:13:43 +01:00
self-exe.cc More support for std::filepath in libnixutil 2024-08-26 17:23:56 -04:00
self-exe.hh Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
shell.md nix: Reserve shebang line syntax and only parse double backtick quotes 2023-11-07 13:24:01 -05:00
sigs.cc Build a minimized Nix with MinGW 2024-04-17 12:26:10 -04:00
store-cat.md Add 'nix store' NAR-related manpages 2020-12-21 13:32:28 +01:00
store-copy-log.cc Fix misrendering of 'nix store --help' 2023-03-21 12:02:19 +01:00
store-copy-log.md docs: Refer to the glossary with @docroot@ instead of .. 2024-04-12 11:46:47 -04:00
store-delete.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
store-delete.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
store-dump-path.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
store-gc.cc Deduplicate the Store downcasting with a template 2022-03-11 13:32:33 +00:00
store-gc.md Add 'nix store gc' command 2021-01-10 23:29:14 +01:00
store-info.cc Store info command help updates 2023-10-17 09:39:59 +05:30
store-info.md Store info command help updates 2023-10-17 09:39:59 +05:30
store-ls.md Also use long options in src/nix/*.md 2023-05-17 08:10:30 +01:00
store-prefetch-file.md Fix some typos 2021-03-26 16:14:38 +01:00
store-repair.cc Make command infra less stateful and more regular 2023-03-15 16:29:07 -04:00
store-repair.md clarify definition of "installable" 2023-03-05 01:46:17 +01:00
store.cc Improve the error message for “multicommands” commands (#9510) 2023-12-06 13:13:45 +00:00
upgrade-nix.cc Move NIX_BIN_DIR and all logic using it to the Nix executable itself 2024-08-12 12:29:17 -04:00
upgrade-nix.md Make a few commands that were Unix-only no longer 2024-04-17 16:20:56 -04:00
verify.cc Solve unused header warnings reported by clangd 2024-07-12 15:37:54 +02:00
verify.md Document store object content addressing & improve JSON format 2024-05-20 09:34:35 -04:00
why-depends.cc CanonPath, SourcePath: Change operator + to / 2024-02-05 15:17:39 +01:00
why-depends.md Add 'nix why-depends' manpage 2020-12-21 13:32:28 +01:00