Bug 2436319 - nix-shell man page contains {{#include ./opt-common.md}}
Summary: nix-shell man page contains {{#include ./opt-common.md}}
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nix
Version: 44
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-03 12:52 UTC by Dennis Schridde
Modified: 2026-04-16 23:40 UTC (History)
1 user (show)

Fixed In Version: nix-2.34.5-1.fc44
Clone Of:
Environment:
Last Closed: 2026-04-16 23:40:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dennis Schridde 2026-02-03 12:52:15 UTC
On Fedora 43 `nix-shell --help` or `man 1 nix-shell` contains `{{#include ./opt-common.md}}` in the "Options" section.  This appears to be a packaging issue, since I cannot reproduce it on NixOS 25.11.  It might be related to bug #2415126.

Reproducible: Always




Additional Information:

NixOS 25.11 has `nix-env --version`: nix-env (Nix) 2.31.2

Fedora 43 has:
```
❯ dnf info nix
Installed packages
Name            : nix
Epoch           : 0
Version         : 2.31.3
Release         : 1.fc43
Architecture    : x86_64
Installed size  : 0.0   B
Source          : nix-2.31.3-1.fc43.src.rpm
From repository : updates
Summary         : A purely functional package manager
URL             : https://github.com/NixOS/nix
License         : LGPL-2.1-or-later
Description     : Nix is a purely functional package manager.
                : It allows multiple versions of a package to be installed side-by-side,
                : ensures that dependency specifications are complete,
                : supports atomic upgrades and rollbacks,
                : allows non-root users to install software, and has many other features.
                : It is the basis of the NixOS Linux distribution,
                : but it can be used equally well under other Unix systems.
                :
                : See the README.fedora.md file for setup instructions.
Vendor          : Fedora Project
```

Comment 1 Jens Petersen 2026-02-03 16:05:19 UTC
Thank you for the report: appreciate it.

I need to into this more: not sure if this is easy to fix currently.
Though might tie into the fedora patch you allude too.

However things may improve in 2.33 perhaps since I think the manpages
there were decoupled from mdbook perhaps (which we don't have in fedora ((yet anyway))).

Comment 2 Jens Petersen 2026-03-21 06:46:19 UTC
I believe this is fixed in nix-2.33 which is now built for Rawhide at least.

I will probably backport 2.33 to F44 later (I just updated it to 2.32).

Comment 3 Fedora Update System 2026-04-10 04:00:14 UTC
FEDORA-2026-8c7366e046 (nix-2.34.5-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8c7366e046

Comment 4 Fedora Update System 2026-04-16 23:40:58 UTC
FEDORA-2026-8c7366e046 (nix-2.34.5-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.