mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
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 {
|
||||
pname = "mhost";
|
||||
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0gqrya0bpdd67k2sxib7f4npnrx84d9r4hjq2sg2xz4j8pmgs018";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
CARGO_CRATE_NAME = "mhost";
|
||||
|
||||
doCheck = false;
|
||||
|
@ -7674,7 +7674,9 @@ with pkgs;
|
||||
|
||||
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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user