rubber: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-09 15:02:44 +01:00
parent 6449435b04
commit 080daf40c8

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, python, pythonPackages, texinfo }: { fetchurl, stdenv, python2Packages, texinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rubber-1.3"; name = "rubber-1.3";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "09715apfd6a0haz1mqsxgm8sj4rwzi38gcz2kz020zxk5rh0dksh"; sha256 = "09715apfd6a0haz1mqsxgm8sj4rwzi38gcz2kz020zxk5rh0dksh";
}; };
buildInputs = [ python texinfo ]; buildInputs = [ python2Packages.python texinfo ];
nativeBuildInputs = [ pythonPackages.wrapPython ]; nativeBuildInputs = [ python2Packages.wrapPython ];
patchPhase = '' patchPhase = ''
substituteInPlace configure --replace which "type -P" substituteInPlace configure --replace which "type -P"