nym: fix build on darwin
This commit is contained in:
parent
bf92d0ec37
commit
f4839bfc43
@ -1,8 +1,11 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, Security
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -20,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
|
||||
patches = [ ./ignore-networking-tests.patch ];
|
||||
checkType = "debug";
|
||||
|
@ -7146,7 +7146,9 @@ in
|
||||
|
||||
nylon = callPackage ../tools/networking/nylon { };
|
||||
|
||||
nym = callPackage ../applications/networking/nym { };
|
||||
nym = callPackage ../applications/networking/nym {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
nzbget = callPackage ../tools/networking/nzbget { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user