Unverified Commit b7afd62d authored by dish's avatar dish Committed by GitHub
Browse files

python3Packages.pwntools: disable update checking (#447428)

parents 40b2130a 544d52a9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 ];