Merge pull request #121206 from onsails/innernet
innernet: fix build on darwin
This commit is contained in:
commit
bf9d3bfe1e
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, llvmPackages, sqlite, installShellFiles, Security }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, llvmPackages, sqlite, installShellFiles, Security, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "innernet";
|
pname = "innernet";
|
||||||
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
clang
|
clang
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
buildInputs = [ sqlite ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = [ sqlite ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue