git-hub: use python2
This commit is contained in:
parent
434f09c55f
commit
bea967016e
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, docutils, python2 }:
|
{ stdenv, fetchFromGitHub, docutils, python2Packages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "git-hub-${version}";
|
name = "git-hub-${version}";
|
||||||
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "sociomantic-tsunami";
|
owner = "sociomantic-tsunami";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python2 ];
|
buildInputs = [ python2Packages.python ];
|
||||||
nativeBuildInputs = [ docutils ];
|
nativeBuildInputs = [ python2Packages.docutils ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace rst2man rst2man.py
|
substituteInPlace Makefile --replace rst2man rst2man.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user