tab: use python3

This commit is contained in:
Mario Rodas 2020-06-19 04:20:00 -05:00
parent 4c9b89a764
commit c45e09039b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromBitbucket, python2 }:
{ stdenv, fetchFromBitbucket, python3 }:
stdenv.mkDerivation rec {
version = "7.2";
@ -11,10 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "1bm15lw0vp901dj2vsqx6yixmn7ls3brrzh1w6zgd1ksjzlm5aax";
};
nativeBuildInputs = [ python2 ];
checkInputs = [ python3 ];
doCheck = true;
preCheck = ''
substituteInPlace Makefile --replace "python2 go2.py" "python go.py"
'';
checkTarget = "test";
installPhase = ''