diff options
author | Andrey Kuznetsov <fear@loathing.in> | 2021-05-11 00:35:08 +0300 |
---|---|---|
committer | Andrey Kuznetsov <fear@loathing.in> | 2021-05-11 00:35:08 +0300 |
commit | f4839bfc43864ded5ba47ba1adcae67e3a9e456c (patch) | |
tree | 222fe0474d93cf27aad944eb5a5b132530bb1964 /pkgs/applications/networking/nym | |
parent | bf92d0ec3794fcfb8b23bbeb5dd9bf50fbf97bc4 (diff) |
nym: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/nym')
-rw-r--r-- | pkgs/applications/networking/nym/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/networking/nym/default.nix b/pkgs/applications/networking/nym/default.nix index 9251862ba6ee9..1dc41f3af97cd 100644 --- a/pkgs/applications/networking/nym/default.nix +++ b/pkgs/applications/networking/nym/default.nix @@ -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"; |