mhost: fix build on darwin
This commit is contained in:
parent
8ea3df51cd
commit
586ec1fbe4
@ -1,4 +1,4 @@
|
|||||||
{ fetchFromGitHub, rustPlatform, lib }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mhost";
|
pname = "mhost";
|
||||||
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "0gqrya0bpdd67k2sxib7f4npnrx84d9r4hjq2sg2xz4j8pmgs018";
|
cargoSha256 = "0gqrya0bpdd67k2sxib7f4npnrx84d9r4hjq2sg2xz4j8pmgs018";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
CARGO_CRATE_NAME = "mhost";
|
CARGO_CRATE_NAME = "mhost";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -7674,7 +7674,9 @@ with pkgs;
|
|||||||
|
|
||||||
metasploit = callPackage ../tools/security/metasploit { };
|
metasploit = callPackage ../tools/security/metasploit { };
|
||||||
|
|
||||||
mhost = callPackage ../applications/networking/mhost { };
|
mhost = callPackage ../applications/networking/mhost {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
ms-sys = callPackage ../tools/misc/ms-sys { };
|
ms-sys = callPackage ../tools/misc/ms-sys { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user