[Nix-dev] Re: [Nix-commits] SVN commit: nix - 12894 - ludo - nixpkgs/trunk/pkgs/applications/editors/emacs-unicode
Eelco Dolstra
e.dolstra at tudelft.nl
Tue Sep 23 02:04:48 CEST 2008
Ludovic Courts wrote:
> Modified:
> nixpkgs/trunk/pkgs/applications/editors/emacs-unicode/default.nix
>
> Log:
> Change `name' attribute of Emacs 23 to `emacs-snapshot-23-xxx'.
>
> This is so that "nix-env -u emacs" doesn't switch from, say, Emacs 22
> to Emacs 23.
A maybe better solution is to change the priority on Emacs 23 so that it doesn't
get picked by default. The lowPrio function in Nixpkgs does that, just say
emacsUnicode = lowPrio (import ... { ... });
This is also used on GCC 4.3 and a bunch of other packages.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list