diff --git a/pkgs/by-name/nm/nmap/package.nix b/pkgs/by-name/nm/nmap/package.nix index 2cdee798d5cc..fc929197ebe9 100644 --- a/pkgs/by-name/nm/nmap/package.nix +++ b/pkgs/by-name/nm/nmap/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + versionCheckHook, libpcap, pkg-config, openssl, @@ -63,6 +64,12 @@ stdenv.mkDerivation rec { doCheck = false; # fails 3 tests, probably needs the net + nativeInstallCheckInputs = [ + versionCheckHook + ]; + versionCheckProgramArg = "-V"; + doInstallCheck = true; + meta = { description = "Free and open source utility for network discovery and security auditing"; homepage = "http://www.nmap.org";