fixing stuff

feature/hass
Ingolf Wagner 2021-03-16 22:15:02 +01:00
parent 671ab04997
commit 957c3fc2bc
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,7 @@
{ pkgs, lib, ... }: {
desktopFile = bin:
{ comment ? "No Comment", longName ? "Script", command ? "${bin}/bin/${bin.name}", ... }:
{ comment ? "No Comment", longName ? "Script"
, command ? "${bin}/bin/${bin.name}", ... }:
pkgs.writeTextFile {
name = "${bin.name}.desktop";
destination = "/share/applications/${bin.name}.desktop";

View File

@ -380,11 +380,8 @@ in {
${mailSend}/bin/mail-send
${mailSync}/bin/mail-sync
'';
mailDelete = let
notmuch = "${pkgs.notmuch}/bin/notmuch"
;
in
pkgs.writers.writeBashBin "mail-delete" ''
mailDelete = let notmuch = "${pkgs.notmuch}/bin/notmuch";
in pkgs.writers.writeBashBin "mail-delete" ''
set -efu
set -o pipefail