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