sqlx-cli: fix darwin build
This commit is contained in:
parent
361bea3f00
commit
1374bfa2d3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, SystemConfiguration, CoreFoundation, Security }:
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, SystemConfiguration, CoreFoundation, Security, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "sqlx-cli";
|
pname = "sqlx-cli";
|
||||||
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||||
++ lib.optionals stdenv.isDarwin [ SystemConfiguration CoreFoundation Security ];
|
++ lib.optionals stdenv.isDarwin [ SystemConfiguration CoreFoundation Security libiconv ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description =
|
description =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user