doclifter: avoid 2to3
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user