From 407324faa9b1a4a0641cb1146cc910328210ab6e Mon Sep 17 00:00:00 2001 From: John Ramsden Date: Wed, 5 Jul 2017 16:28:01 -0700 Subject: [PATCH] Rename nylas-mail to nylas-mail-bin. Change pkg in module, and name in pkg. --- nixos/modules/programs/nylas-mail.nix | 2 +- .../mailreaders/{nylas-mail => nylas-mail-bin}/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename pkgs/applications/networking/mailreaders/{nylas-mail => nylas-mail-bin}/default.nix (90%) diff --git a/nixos/modules/programs/nylas-mail.nix b/nixos/modules/programs/nylas-mail.nix index fc18a9a4760..9a6cf755f2a 100644 --- a/nixos/modules/programs/nylas-mail.nix +++ b/nixos/modules/programs/nylas-mail.nix @@ -27,7 +27,7 @@ in { config = mkIf cfg.enable { - environment.systemPackages = [pkgs.nylas-mail]; + environment.systemPackages = [ pkgs.nylas-mail-bin ]; services.gnome3.gnome-keyring = mkIf cfg.gnome3-keyring { enable = true; diff --git a/pkgs/applications/networking/mailreaders/nylas-mail/default.nix b/pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix similarity index 90% rename from pkgs/applications/networking/mailreaders/nylas-mail/default.nix rename to pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix index b9d4be3e380..4c768325fee 100644 --- a/pkgs/applications/networking/mailreaders/nylas-mail/default.nix +++ b/pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { name = "${pkgname}-${version}"; - pkgname = "nylas-mail"; + pkgname = "nylas-mail-bin"; version = "2.0.32"; subVersion = "fec7941"; @@ -126,7 +126,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Open-source mail client built on the modern web with Electron, React, and Flux"; longDescription = '' - Nylas Mail is an open-source mail client built on the modern web with Electron, React, and Flux. It is designed to be extensible, so it's easy to create new experiences and workflows around email. To run nylas-mail, an additional manual step is required. Make sure to have services.gnome3.gnome-keyring.enable = true; in your configuration.nix before running nylas-mail. If you happen to miss this step, you should remove ~/.nylas-mail and "~/.config/Nylas Mail" for a blank setup". + Nylas Mail is an open-source mail client built on the modern web with Electron, React, and Flux. It is designed to be extensible, so it's easy to create new experiences and workflows around email. Nylas Mail can be enabled with it's requirements by enabling 'services.nylas-mail.enable=true'. Alternatively, make sure to have services.gnome3.gnome-keyring.enable = true; in your configuration.nix before running nylas-mail. If you happen to miss this step, you should remove ~/.nylas-mail and "~/.config/Nylas Mail" for a blank setup". ''; license = licenses.gpl3; maintainers = with maintainers; [ johnramsden ];