lix/src
Jonas Chevalier 2265536e85 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.

Upstream-PR: https://github.com/nixos/nix/pull/11438

Change-Id: I60fb6b3ed4ec1b24f81b5f0d76c0be98470817ce
2024-09-26 14:32:29 -07:00
..
asan-options tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
build-remote tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
libcmd tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
libexpr repl-overlays: Provide an elaborate example 2024-09-01 15:30:58 -07:00
libfetchers libfetchers: serialise accept-flake-config properly 2024-09-02 18:50:15 +02:00
libmain libmain/progress-bar: erase all lines of the multi-line format 2024-09-07 10:37:12 +02:00
libstore Merge changes If8ec210f,I6e2851b2 into main 2024-09-09 16:14:23 +00:00
libutil Merge "Add getCwd" into main 2024-09-10 00:10:40 +00:00
lix-doc rowan: 0.15.15 -> 0.15.16 2024-08-26 11:34:43 -07:00
nix fix(nix fmt): remove the default "." argument 2024-09-26 14:32:29 -07:00
nix-build tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
nix-channel util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
nix-collect-garbage Fix dry-run flag for nix-collect-garbage 2024-07-09 13:55:05 +00:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env fix: check if it is a Real terminal, not just if it is a terminal 2024-08-10 16:07:21 -07:00
nix-instantiate libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
nix-store tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
pch tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
lix-base.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build lix-doc: move under src/ 2024-08-20 13:38:46 -06:00