tab: use python3
This commit is contained in:
parent
4c9b89a764
commit
c45e09039b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromBitbucket, python2 }:
|
{ stdenv, fetchFromBitbucket, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "7.2";
|
version = "7.2";
|
||||||
@ -11,10 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1bm15lw0vp901dj2vsqx6yixmn7ls3brrzh1w6zgd1ksjzlm5aax";
|
sha256 = "1bm15lw0vp901dj2vsqx6yixmn7ls3brrzh1w6zgd1ksjzlm5aax";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ python2 ];
|
checkInputs = [ python3 ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
substituteInPlace Makefile --replace "python2 go2.py" "python go.py"
|
||||||
|
'';
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user