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
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
{pkgs ? import<nixpkgs>{},lib ? pkgs.lib,externalSources ?
# if called via CLI, load externals via envifbuiltins ? getEnv&&builtins.getEnv"d2nExternalSources"!=""thenbuiltins.getEnv"d2nExternalSources"# load from default dircetoryelse./external,}:
...results in this
{pkgs ? import<nixpkgs>{},lib ? pkgs.lib,externalSources ? # if called via CLI, load externals via envifbuiltins ? getEnv&&builtins.getEnv"d2nExternalSources"!=""thenbuiltins.getEnv"d2nExternalSources"# load from default dircetoryelse./external,}:
The full line comment originally from line 5 has been converted to a same line comment, so it looks like the comment is about externalSources, which is actually not the case. The comment was about the if statement in the next line
Expected behavior
The original comment of line 5, should remain a full line comment
System information
nixpkgs-fmt 1.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
executing nixpkgs-fmt on this:
...results in this
The full line comment originally from line 5 has been converted to a same line comment, so it looks like the comment is about
externalSources
, which is actually not the case. The comment was about the if statement in the next lineExpected behavior
The original comment of line 5, should remain a full line comment
System information
The text was updated successfully, but these errors were encountered: