@@ -1,8 +1,11 @@
1−{ lib
1+{ stdenv
2+, lib
23, rustPlatform
34, fetchFromGitHub
45, pkg-config
56, openssl
7+, Security
8+, libiconv
69}:
710
811rustPlatform.buildRustPackage rec {
@@ -20,7 +23,7 @@ rustPlatform.buildRustPackage rec {
2023
2124 nativeBuildInputs = [ pkg-config ];
2225
23− buildInputs = [ openssl ];
26+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
2427
2528 patches = [ ./ignore-networking-tests.patch ];
2629 checkType = "debug";
@@ -36,6 +39,6 @@ rustPlatform.buildRustPackage rec {
3639 homepage = "https://nymtech.net";
3740 license = licenses.asl20;
3841 maintainers = [ maintainers.ehmry ];
39− platforms = with platforms; intersectLists (linux ++ darwin) (concatLists [ x86 x86_64 aarch64 arm ]);
42+ platforms = platforms.all;
4043 };
4144}