diff options
Diffstat (limited to 'pkgs/tools/text/tab/default.nix')
-rw-r--r-- | pkgs/tools/text/tab/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/text/tab/default.nix b/pkgs/tools/text/tab/default.nix index f7796c8a3291..cd3bfbe85d8a 100644 --- a/pkgs/tools/text/tab/default.nix +++ b/pkgs/tools/text/tab/default.nix @@ -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 = '' |