nixpkgs-suyu/pkgs/development/python-modules/netmap/nmap-path.patch
2021-06-30 09:20:58 +02:00

17 lines
425 B
Diff

diff --git a/nmap/nmap.py b/nmap/nmap.py
index 91c460d..8c5ff0a 100755
--- a/nmap/nmap.py
+++ b/nmap/nmap.py
@@ -77,11 +77,7 @@ class PortScanner(object):
def __init__(
self,
nmap_search_path=(
- "nmap",
- "/usr/bin/nmap",
- "/usr/local/bin/nmap",
- "/sw/bin/nmap",
- "/opt/local/bin/nmap",
+ "@nmap@",
),
):
"""