nym: fix build on darwin

This commit is contained in:
Andrey Kuznetsov
2021-05-11 00:35:08 +03:00
parent bf92d0ec37
commit f4839bfc43
2 changed files with 8 additions and 3 deletions
+5 -2
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";