doclifter: avoid 2to3 (#414915)

This commit is contained in:
Vladimír Čunát
2025-06-13 19:20:57 +02:00
+4 -2
View File
@@ -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 = [