fixing stuff

This commit is contained in:
Ingolf Wagner 2021-03-16 22:15:02 +01:00
parent 671ab04997
commit 957c3fc2bc
No known key found for this signature in database
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