diff --git a/pkgs/development/python-modules/pwntools/default.nix b/pkgs/development/python-modules/pwntools/default.nix index ce3b58296aa8..db47ca9e0e49 100644 --- a/pkgs/development/python-modules/pwntools/default.nix +++ b/pkgs/development/python-modules/pwntools/default.nix @@ -45,6 +45,10 @@ buildPythonPackage rec { # Upstream hardcoded the check for the command `gdb-multiarch`; # Forcefully use the provided debugger as `gdb`. sed -i 's/gdb-multiarch/${debuggerName}/' pwnlib/gdb.py + + # Disable update checks + substituteInPlace pwnlib/update.py \ + --replace-fail 'disabled = False' 'disabled = True' ''; nativeBuildInputs = [ installShellFiles ];