fixing stuff
This commit is contained in:
parent
671ab04997
commit
957c3fc2bc
2 changed files with 4 additions and 6 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue