From 544d52a99fe101250cea24fa35a244a8227a71e0 Mon Sep 17 00:00:00 2001 From: Kamil Monicz Date: Tue, 30 Sep 2025 11:15:46 +0200 Subject: [PATCH] python3Packages.pwntools: disable update checking --- pkgs/development/python-modules/pwntools/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 ];