diff --git a/library/default.nix b/library/default.nix index 50e971d..a16a579 100644 --- a/library/default.nix +++ b/library/default.nix @@ -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"; diff --git a/system/desktop/mail-stuff.nix b/system/desktop/mail-stuff.nix index 3a7f511..96adfc2 100644 --- a/system/desktop/mail-stuff.nix +++ b/system/desktop/mail-stuff.nix @@ -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