From 0b02fa01a99bc498ab923b37addffcdda9d31367 Mon Sep 17 00:00:00 2001 From: Andrey Kuznetsov Date: Thu, 29 Apr 2021 23:56:38 +0300 Subject: [PATCH] innernet: fix build on darwin --- pkgs/tools/networking/innernet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/innernet/default.nix b/pkgs/tools/networking/innernet/default.nix index 4573db5879e1..af0033968386 100644 --- a/pkgs/tools/networking/innernet/default.nix +++ b/pkgs/tools/networking/innernet/default.nix @@ -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";