nym: fix build on darwin

This commit is contained in:
Andrey Kuznetsov 2021-05-11 00:35:08 +03:00
parent bf92d0ec37
commit f4839bfc43
No known key found for this signature in database
GPG key ID: A3748A3281F25743
2 changed files with 8 additions and 3 deletions

View file

@ -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";

View file

@ -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 { };