tomlFormat.generate
doesn't chomp tab indentation
#8874
Labels
tomlFormat.generate
doesn't chomp tab indentation
#8874
Uh oh!
There was an error while loading. Please reload this page.
Transferred from NixOS/nixpkgs#251823 as instructed on matrix due to GitHub's issue transfering not working correctly
Describe the bug
Issues observed in home-manager's
program.starship.settings.format
as described in nix-community/home-manager#4382Steps To Reproduce
Declare
tomlFormat.generate
with 2nd argument that is using tabs for indentation parsed through''
string as shown in linked issue.Expected behavior
Work without issues on tab indentation
Screenshots
Additional context
Affected line:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/pkgs-lib/formats.nix#L198
Discussed on matrix: https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$n1AQxqYcMCHglb15MfUxujcN9tISVsPvzGStK2L0Ciw?via=nixos.org&via=matrix.org&via=tchncs.de
Notify maintainers
Unsure who to notify, triage
Metadata
The text was updated successfully, but these errors were encountered: