forked from mirrors/nixpkgs
Give Org-Mode a high priority.
svn path=/nixpkgs/trunk/; revision=22694
This commit is contained in:
parent
f497701642
commit
c4d05c0e3e
|
@ -40,5 +40,9 @@ rec {
|
|||
*/
|
||||
lowPrio = drv: addMetaAttrs { priority = "10"; } drv;
|
||||
|
||||
/* Increase the nix-env priority of the package, i.e., this
|
||||
version/variant of the package will be preferred.
|
||||
*/
|
||||
hiPrio = drv: addMetaAttrs { priority = "110"; } drv;
|
||||
|
||||
}
|
||||
|
|
|
@ -139,7 +139,7 @@ let
|
|||
|
||||
inherit lib config getConfig stdenvAdapters;
|
||||
|
||||
inherit (lib) lowPrio appendToName makeOverridable;
|
||||
inherit (lib) lowPrio hiPrio appendToName makeOverridable;
|
||||
|
||||
# Applying this to an attribute set will cause nix-env to look
|
||||
# inside the set for derivations.
|
||||
|
@ -7838,9 +7838,11 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
org = import ../applications/editors/emacs-modes/org {
|
||||
# This is usually a newer version of Org-Mode than that found in GNU Emacs, so
|
||||
# we want it to have higher precedence.
|
||||
org = hiPrio (import ../applications/editors/emacs-modes/org {
|
||||
inherit fetchurl stdenv emacs texinfo;
|
||||
};
|
||||
});
|
||||
|
||||
prologMode = import ../applications/editors/emacs-modes/prolog {
|
||||
inherit fetchurl stdenv;
|
||||
|
|
Loading…
Reference in a new issue