forked from mirrors/nixpkgs
pwndbg: fix wrapper mistake
This commit is contained in:
parent
315f06df28
commit
c0c4557393
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
preFixup = ''
|
||||
sed -i "/import sys/a import sys; sys.path.insert(0, '$PYTHONPATH'.split(':'))" \
|
||||
sed -i "/import sys/a import sys; sys.path[0:0] = '$PYTHONPATH'.split(':')" \
|
||||
$out/share/pwndbg/gdbinit.py
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue