diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-06-19 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-06-19 04:20:00 -0500 |
commit | c45e09039b412fe81ad9828af59431f5dfa20bc9 (patch) | |
tree | 0e4bb20657399eac9447e88cfb2d74700d0b33a8 /pkgs/tools/text/tab | |
parent | 4c9b89a764a80d9f280a9197a40454f54d3728a3 (diff) | |
download | nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar.gz nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar.bz2 nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar.lz nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar.xz nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.tar.zst nixpkgs-c45e09039b412fe81ad9828af59431f5dfa20bc9.zip |
tab: use python3
Diffstat (limited to 'pkgs/tools/text/tab')
-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 f7796c8a329..cd3bfbe85d8 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 = '' |