Unverified Commit f0dc37ac authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

doclifter: avoid 2to3 (#414915)

parents 6db91430 b6444424
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -18,8 +18,10 @@ stdenv.mkDerivation (finalAttrs: {

  postPatch = ''
    substituteInPlace manlifter \
      --replace-fail '/usr/bin/env python2' '/usr/bin/env python3'
    2to3 -w manlifter
      --replace-fail '/usr/bin/env python2' '/usr/bin/env python3' \
      --replace-fail 'import thread, threading, Queue' 'import _thread, threading, queue' \
      --replace-fail 'thread.get_ident' '_thread.get_ident' \
      --replace-fail 'Queue.Queue' 'queue.Queue'
  '';

  nativeBuildInputs = [