emacs: Remove references from emacs.pdmp#99239
Conversation
This reduces the Emacs closure size from 1324 MiB to 424 MiB. Fixes NixOS#98755.
|
Note that Emacs is still about 85 MiB larger than in NixOS 20.03. For a large part this is because the closure now contains two (!) copies of systemd, where previously it only depended on Edit: I created issue #99240 for that. We could just drop the systemd dependency in Emacs (looking at the source, it only affects running Emacs in daemon mode as a systemd unit, which I doubt anybody really cares about). However that wouldn't help since Emacs also depends on dbus, which in turn depends on systemd. |
And to add to this, it's only relevant for socket activation, which the NixOS service doesn't use. |
Motivation for this change
This reduces the Emacs closure size from 1324 MiB to 424 MiB.
Fixes #98755.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)