Skip to content

man: add 'cache.generateAtRuntime'#8861

Draft
ambroisie wants to merge 3 commits intonix-community:masterfrom
ambroisie:man-runtime-cache
Draft

man: add 'cache.generateAtRuntime'#8861
ambroisie wants to merge 3 commits intonix-community:masterfrom
ambroisie:man-runtime-cache

Conversation

@ambroisie
Copy link
Contributor

Description

Closes #8860.

NOTE: currently untested, hence opening a draft.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

Matching NixOS' new option name.
Comment on lines 148 to 151
''
MANDB_MAP ${config.home.profileDirectory}/share/man ${manualCache}
''
+ lib.optionalString (cfg.extraConfig != "") "\n${cfg.extraConfig}";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also noticed that extraConfig isn't applied in some cases due to the mkIf.

@ambroisie ambroisie force-pushed the man-runtime-cache branch from 9ff1c6e to b4b0063 Compare March 6, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] man: feature parity with NixOS module (runtime cache generation)

1 participant