innernet: fix build on darwin

This commit is contained in:
Andrey Kuznetsov 2021-04-29 23:56:38 +03:00
parent 2722d069e1
commit 0b02fa01a9
No known key found for this signature in database
GPG key ID: A3748A3281F25743

View file

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, llvmPackages, sqlite, installShellFiles, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, llvmPackages, sqlite, installShellFiles, Security, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "innernet";
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
clang
installShellFiles
];
buildInputs = [ sqlite ] ++ lib.optionals stdenv.isDarwin [ Security ];
buildInputs = [ sqlite ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";