From 53ea7dee75b90181683c59869940db85cabc2d78 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Fri, 26 Feb 2016 12:27:04 -0500 Subject: [PATCH] emacs: fix priority for ctags This fixes the previous attempt (in commit 46d1dd5) to make ctags' ctags override emacs' ctags. The higher the value of the priority attribute, the higher the priority (see the definition of `buildEnv`). --- pkgs/applications/editors/emacs-24/default.nix | 3 --- pkgs/development/tools/misc/ctags/default.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/emacs-24/default.nix b/pkgs/applications/editors/emacs-24/default.nix index 35fcaecb112..ffa280d360c 100644 --- a/pkgs/applications/editors/emacs-24/default.nix +++ b/pkgs/applications/editors/emacs-24/default.nix @@ -86,9 +86,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ chaoflow lovek323 simons the-kenny jwiegley ]; platforms = platforms.all; - # So that Exuberant ctags is preferred - priority = 1; - longDescription = '' GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp diff --git a/pkgs/development/tools/misc/ctags/default.nix b/pkgs/development/tools/misc/ctags/default.nix index 26b186c11ea..584095c904d 100644 --- a/pkgs/development/tools/misc/ctags/default.nix +++ b/pkgs/development/tools/misc/ctags/default.nix @@ -29,6 +29,9 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; maintainers = with maintainers; [ simons ]; platforms = platforms.unix; + + # So that Exuberant ctags is preferred over emacs's ctags + priority = 1; }; }