Open KornelJahn opened 1 year ago
Multi-line inherit constructs with comments, such as
environment.systemPackages = builtins.attrValues { inherit (pkgs) foo # foo bar # bar ; };
are re-formatted as
environment.systemPackages = builtins.attrValues { inherit (pkgs) foo# foo bar# bar ; };
I would expect nixpkgs-fmt to leave the such constructs intact, similarly to the original with-antipattern
environment.systemPackages = with pkgs; [ foo # foo bar # bar ];
they intend to replace.
> nixpkgs-fmt --version nixpkgs-fmt 1.3.0
Any update regarding this issue?
Multi-line inherit constructs with comments, such as
are re-formatted as
I would expect nixpkgs-fmt to leave the such constructs intact, similarly to the original with-antipattern
they intend to replace.