[Nix-dev] Vim packages

Nicolas Pierron nicolas.b.pierron at gmail.com
Sun Apr 12 12:38:04 CEST 2009


Hi Nixers,

"replica" from IRC have reported an issue about vim updates.  Many
derivation of vim exists with many sets of options.  All the vim
derivation are named like:

vim-${version}${configs}

Unfortunately this naming let Nix define that
"vim-7.2-huge-X11-python-tcl" is a newer version than "vim-7.2".

My questions are:
1/ Why they are so many "vim*" in all-packages.nix? Is that used to
make all configuration sets compiled on the buildfarm? Could we
compile the same package with different configurations on the
buildfarm?

2/ Why configuration options are part of the name?  This force you to
"manually" say "nix-env -e vim-7.2-huge-X11-tcl; nix-env -i
vim-7.2-huge-X11-python" to change the configuration. Isn't the
~/.nixpkgs/config.nix file made for that?

3/ Why vim?

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
- If you are doing something twice then you should try to do it once.



More information about the nix-dev mailing list