|
|
|
@ -178,6 +178,9 @@ let
|
|
|
|
# copy extra files
|
|
|
|
# copy extra files
|
|
|
|
cp -rf ${lib.getLib pkgs.ncurses}/share/terminfo/ $out/pwndbg/share/
|
|
|
|
cp -rf ${lib.getLib pkgs.ncurses}/share/terminfo/ $out/pwndbg/share/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fix ipython autocomplete
|
|
|
|
|
|
|
|
cp -rf ${pwndbgVenv}/lib/${python3.libPrefix}/site-packages/parso/python/*.txt $out/pwndbg/lib/${python3.libPrefix}/site-packages/parso/python/
|
|
|
|
|
|
|
|
|
|
|
|
# fix python "subprocess.py" to use "/bin/sh" and not the nix'ed version, otherwise "gdb-pt-dump" is broken
|
|
|
|
# fix python "subprocess.py" to use "/bin/sh" and not the nix'ed version, otherwise "gdb-pt-dump" is broken
|
|
|
|
sed -i 's@/nix/store/.*/bin/sh@/bin/sh@' $out/pwndbg/lib/${python3.libPrefix}/subprocess.py
|
|
|
|
sed -i 's@/nix/store/.*/bin/sh@/bin/sh@' $out/pwndbg/lib/${python3.libPrefix}/subprocess.py
|
|
|
|
|
|
|
|
|
|
|
|
|