From 45d9595b419a536b218337396517d57db17566aa Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 17 Jan 2022 19:28:41 +0100 Subject: [PATCH] emacs: consider macport in meta --- pkgs/applications/editors/emacs/generic.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 1b3eed84b84e..febf3a48eec1 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -243,11 +243,11 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation }; meta = with lib; { - description = "The extensible, customizable GNU text editor"; - homepage = "https://www.gnu.org/software/emacs/"; + description = "The extensible, customizable GNU text editor" + optionalString withMacport " with Mitsuharu Yamamoto's macport patches"; + homepage = if withMacport then "https://bitbucket.org/mituharu/emacs-mac/" else "https://www.gnu.org/software/emacs/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ lovek323 jwiegley adisbladis matthewbauer ]; - platforms = platforms.all; + platforms = if withMacport then platforms.darwin else platforms.all; longDescription = '' GNU Emacs is an extensible, customizable text editor—and more. At its