mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
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 {
|
||||
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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user