fix: drop full emacs runtime dep, only emacsclient is used
sims only invokes emacsclient (in modules/notmuch.py) and never the full emacs binary. Bundling emacs onto the wrapper PATH was forcing consumers to pull in an extra ~310M emacs closure (often a different version from the user's actual editor). Rely on the consumer's emacsclient via PATH, configurable via services.sims.settings.notmuch.emacsclient_command.
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
webp-pixbuf-loader,
|
webp-pixbuf-loader,
|
||||||
notmuch,
|
notmuch,
|
||||||
khal,
|
khal,
|
||||||
emacs,
|
|
||||||
dbus,
|
dbus,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -74,11 +73,17 @@ python3Packages.buildPythonApplication {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ khal notmuch emacs dbus ]})
|
makeWrapperArgs+=(--prefix PATH : ${
|
||||||
|
lib.makeBinPath [
|
||||||
|
khal
|
||||||
|
notmuch
|
||||||
|
dbus
|
||||||
|
]
|
||||||
|
})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit khal notmuch emacs;
|
inherit khal notmuch;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
Reference in New Issue
Block a user