New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/apropos: init #76841
nixos/apropos: init #76841
Conversation
systemd.tmpfiles.rules = [ "d /var/cache/man 0755 root root -" ]; | ||
|
||
system.activationScripts.apropos = '' | ||
${pkgs.mandb}/bin/mandb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do this at build-time instead? Would be much cleaner. This here will run on every boot and rebuild.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthewbauer are you still interested in this PR? If not I'm ok taking over this task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rnhmjoj can you please have a look? It would be great to fix this old issue. Thank you.
{ | ||
|
||
options.documentation.apropos = { | ||
enable = mkOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this whole config can be moved to documentation.nix
under the mkIf cfg.man.enable
without an additional .enable
option if it can be done at build time.
Closing in favor of #86489 |
Fixes #14472
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @