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
groff: split out perl dependencies #27305
Conversation
(I'm now running |
This is a mass-rebuild please re-target the branch against |
What do you good folks need from me next, if anything? |
@therealpxc: The re-targeting lead to some unrelated commits being included in the PR. |
@therealpxc I can remove the unrelated commits in the pull request, if you want. |
Maybe I shouldn't have just done that in the GitHub web interface, lol. I didn't even notice that at first. Sorry, folks! I've dropped those commits. |
There are just two packages in nixpkgs that use generic |
Tracing the executables on the current |
Motivation for this change
This resolves issue #26892 , and results in a ~50MB closure reduction for some packages including the
fish
shell!I tried at least running all of the executables that use perl, although I'm not really sure what inputs they use. I've grepped through the nixpkgs tree a little bit and none of the perl-dependent executables are directly referenced in any packages, although they may be in use there. There seem to be several which only use groff's
nroff
command, which means this PR will benefit those packages w/r/t closure reduction as well.I will try to do some more testing this week of the individual perl-dependent groff executables to make sure their output in some simple cases is complete and correct; I'm not sure that I've adequately tested this but would like to put it up at this point for advice nonetheless.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)