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, ... }: {
|
{ pkgs, lib, ... }: {
|
||||||
desktopFile = bin:
|
desktopFile = bin:
|
||||||
{ comment ? "No Comment", longName ? "Script", command ? "${bin}/bin/${bin.name}", ... }:
|
{ comment ? "No Comment", longName ? "Script"
|
||||||
|
, command ? "${bin}/bin/${bin.name}", ... }:
|
||||||
pkgs.writeTextFile {
|
pkgs.writeTextFile {
|
||||||
name = "${bin.name}.desktop";
|
name = "${bin.name}.desktop";
|
||||||
destination = "/share/applications/${bin.name}.desktop";
|
destination = "/share/applications/${bin.name}.desktop";
|
||||||
|
|
|
@ -380,11 +380,8 @@ in {
|
||||||
${mailSend}/bin/mail-send
|
${mailSend}/bin/mail-send
|
||||||
${mailSync}/bin/mail-sync
|
${mailSync}/bin/mail-sync
|
||||||
'';
|
'';
|
||||||
mailDelete = let
|
mailDelete = let notmuch = "${pkgs.notmuch}/bin/notmuch";
|
||||||
notmuch = "${pkgs.notmuch}/bin/notmuch"
|
in pkgs.writers.writeBashBin "mail-delete" ''
|
||||||
;
|
|
||||||
in
|
|
||||||
pkgs.writers.writeBashBin "mail-delete" ''
|
|
||||||
set -efu
|
set -efu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue