[Nix-dev] [Nix-commits] SVN commit: nix - r33799 - nixpkgs/trunk/pkgs/applications/version-management/mercurial

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Apr 16 01:51:15 CEST 2012


Hi,

On 16/04/12 01:48, Nicolas Pierron wrote:

> +  PYTHONPATH = "${python}/lib/python2.6/site-packages:${python}/lib/python2.7/site-packages:${docutils}/lib/python2.5/site-packages:${docutils}/lib/python2.6/site-packages:${docutils}/lib/python2.7/site-packages";

Why not set:

 pythonPath = [ docutils ];

?

Certainly repeating the path elements for each of Python 2.5, 2.6 and 2.7 is
rather error-prone.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list