feat: sims cli as python package

This commit is contained in:
2026-05-03 22:19:52 +02:00
parent afcf8d51fe
commit 0cd58f4a1f
6 changed files with 171 additions and 60 deletions

View File

@@ -15,6 +15,7 @@
notmuch,
khal,
emacs,
dbus,
...
}:
@@ -64,6 +65,8 @@ python3Packages.buildPythonApplication {
mkdir -p $out/bin
cp scripts/launcher.py $out/bin/sims
chmod +x $out/bin/sims
cp scripts/cli_launcher.py $out/bin/sims-cli
chmod +x $out/bin/sims-cli
runHook postInstall
@@ -71,7 +74,7 @@ python3Packages.buildPythonApplication {
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ khal notmuch emacs ]})
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ khal notmuch emacs dbus ]})
'';
passthru = {