lix/doc/manual
zimbatm 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
..
rl-next fix(nix fmt): remove the default "." argument 2024-09-26 14:32:29 -07:00
src manual: note that __sandboxProfile allows bypassing the darwin sandbox 2024-08-29 17:06:39 -07:00
theme
anchors.jq
book.toml docs: enable non-default TOC folding 2024-05-30 00:23:01 +00:00
change-authors.yml fix(nix fmt): remove the default "." argument 2024-09-26 14:32:29 -07:00
custom.css
generate-builtin-constants.nix
generate-builtins.nix
generate-deps.py
generate-features-shortlist.nix libexpr: Introduce Deprecated features 2024-08-17 19:47:51 +02:00
generate-features.nix libexpr: Introduce Deprecated features 2024-08-17 19:47:51 +02:00
generate-manpage.nix
json-to-tree.py
meson.build doc: fix broken meson deps for various manuals outputs 2024-08-18 15:19:15 -07:00
process-includes.sh change shebangs of all .sh scripts to bash 2024-06-24 14:00:43 -07:00
quote-literals.xsl
rclone.conf
redirects.js manual: fix a syntax error in redirects.js that made it not do anything 2024-08-04 20:41:19 -07:00
render-manpage.sh change shebangs of all .sh scripts to bash 2024-06-24 14:00:43 -07:00
substitute.py
utils.nix