nix --help renders source comments #1040

Open
opened 2025-11-18 23:36:46 +00:00 by dcarosone · 2 comments
Member

Describe the bug

I ran nix --help and comments from the source got included in the output..

image

Steps To Reproduce

  1. nix --help
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

comments use inside voice

nix --version output

nix (Lix, like Nix) 2.94.0-pre20251112-dev_78bdc60
System type: x86_64-linux
Additional system types: aarch64-linux, i686-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/dan/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/dan/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/dan/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/dan/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/491xvm9xv2hd5hhvmzmjhg89s9ampflp-lix-2.94.0-pre20251112-dev_78bdc60/share

Additional context

it is indeed not the same bad parser

## Describe the bug I ran nix --help and comments from the source got included in the output.. ![image](/attachments/543d8821-36b2-4eb1-9d98-952452c94b6c) ## Steps To Reproduce 1. `nix --help` 2. ~~Click on '....'~~ 3. Scroll down to '....' 4. See error ## Expected behavior comments use inside voice ## `nix --version` output nix (Lix, like Nix) 2.94.0-pre20251112-dev_78bdc60 System type: x86_64-linux Additional system types: aarch64-linux, i686-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/dan/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/dan/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/dan/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/dan/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/491xvm9xv2hd5hhvmzmjhg89s9ampflp-lix-2.94.0-pre20251112-dev_78bdc60/share ## Additional context it is indeed not the same bad parser
168 KiB

Note: This seems overall somewhat broken and plain-copied (see the "#include" line of a different md)

image

Note: This seems overall somewhat broken and plain-copied (see the "#include" line of a different md) ![image](/attachments/df1e95a1-2830-44c2-a8b3-03f3089ae737)
Owner

we should be rendering and shipping real manpages instead of the nonsense we're doing currently. cf #982

we should be rendering and shipping *real* manpages instead of the nonsense we're doing currently. cf #982
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1040
No description provided.