git-hub: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-09 11:36:17 +01:00
parent 434f09c55f
commit bea967016e

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, docutils, python2 }:
{ stdenv, fetchFromGitHub, docutils, python2Packages }:
stdenv.mkDerivation rec {
name = "git-hub-${version}";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
owner = "sociomantic-tsunami";
};
buildInputs = [ python2 ];
nativeBuildInputs = [ docutils ];
buildInputs = [ python2Packages.python ];
nativeBuildInputs = [ python2Packages.docutils ];
postPatch = ''
substituteInPlace Makefile --replace rst2man rst2man.py