mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
fix mercurial -extra PYTHONPATH +setuptools
- PYTHONPATH is already set correctly - setuptools is needed to see docutils
This commit is contained in:
parent
92a833604c
commit
9208fb1edb
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip
|
{ stdenv, fetchurl, python, makeWrapper, docutils, setuptools, unzip
|
||||||
, guiSupport ? false, tk ? null, curses }:
|
, guiSupport ? false, tk ? null, curses }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -15,9 +15,7 @@ stdenv.mkDerivation {
|
|||||||
inherit python; # pass it so that the same version can be used in hg2git
|
inherit python; # pass it so that the same version can be used in hg2git
|
||||||
pythonPackages = [ curses ];
|
pythonPackages = [ curses ];
|
||||||
|
|
||||||
buildInputs = [ python makeWrapper docutils unzip ];
|
buildInputs = [ python makeWrapper docutils setuptools 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";
|
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user