python3Packages.pwntools: disable update checking (#447428)
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user