1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

fix mercurial -extra PYTHONPATH +setuptools

- PYTHONPATH is already set correctly
- setuptools is needed to see docutils
This commit is contained in:
Florian Friesdorf 2012-11-24 23:24:22 +01:00
parent 92a833604c
commit 9208fb1edb

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip
{ stdenv, fetchurl, python, makeWrapper, docutils, setuptools, unzip
, guiSupport ? false, tk ? null, curses }:
let
@ -15,9 +15,7 @@ stdenv.mkDerivation {
inherit python; # pass it so that the same version can be used in hg2git
pythonPackages = [ curses ];
buildInputs = [ python makeWrapper docutils unzip ];
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";
buildInputs = [ python makeWrapper docutils setuptools unzip ];
makeFlags = "PREFIX=$(out)";