fix: khal and notmuch in path

This commit is contained in:
2025-09-30 00:14:47 +02:00
parent 15077fe6fa
commit 2d3f97cae1
3 changed files with 130 additions and 51 deletions

View File

@@ -12,6 +12,9 @@
wrapGAppsHook3,
playerctl,
webp-pixbuf-loader,
notmuch,
khal,
emacs,
...
}:
@@ -38,6 +41,8 @@ python3Packages.buildPythonApplication {
gdk-pixbuf
playerctl
webp-pixbuf-loader
notmuch
khal
];
dependencies = with python3Packages; [
@@ -60,13 +65,19 @@ python3Packages.buildPythonApplication {
cp scripts/launcher.py $out/bin/bar
chmod +x $out/bin/bar
runHook postInstall
'';
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ khal notmuch emacs ]})
'';
passthru = {
inherit khal notmuch emacs;
};
meta = {
changelog = "";
description = ''