From c0c4557393156e6432a8e554d14a78f704b0c82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Fri, 6 Apr 2018 12:25:15 +0200 Subject: [PATCH] pwndbg: fix wrapper mistake --- pkgs/development/tools/misc/pwndbg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/pwndbg/default.nix b/pkgs/development/tools/misc/pwndbg/default.nix index 9c6b00cd5be5..df4b91a79b09 100644 --- a/pkgs/development/tools/misc/pwndbg/default.nix +++ b/pkgs/development/tools/misc/pwndbg/default.nix @@ -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 '';