You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'treefmt'
whose name attribute is located at /nix/store/khbvilmsrv4l69nwd52h27j1mp44a0xi-source/pkgs/stdenv/generic/make-derivation.nix:375:7
… while evaluating attribute 'text' of derivation 'treefmt'
at /nix/store/khbvilmsrv4l69nwd52h27j1mp44a0xi-source/pkgs/build-support/trivial-builders/default.nix:102:17:
101| ({
102| inherit text executable checkPhase allowSubstitutes preferLocalBuild;
| ^
103| passAsFile = [ "text" ]
… while evaluating the option `build.configFile':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: A definition for option `settings.formatter.shfmt.indent_size' is not of type `TOML value'. Definition values:
- In `<unknown-file>': null
Expected behavior
It does not provide a CLI argument and shfmt reads the .editorconfig file.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
indent_size = null
Expected behavior
It does not provide a CLI argument and shfmt reads the .editorconfig file.
treefmt-nix/programs/shfmt.nix
Lines 34 to 43 in 4f09b47
Versions
NixOS unstable
nixpkgs: a79cfe0ebd24952b580b1cf08cd906354996d547
treefmt: 4f09b47
Additional context
#96
@zimbatm
@katexochen
The text was updated successfully, but these errors were encountered: