sqlx-cli: fix darwin build (#117443)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ea2c9dd2dc
commit
bb756400c0
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, SystemConfiguration, CoreFoundation, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sqlx-cli";
|
||||
@ -17,7 +17,8 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoBuildFlags = [ "-p sqlx-cli" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ SystemConfiguration CoreFoundation Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
|
@ -11216,7 +11216,9 @@ in
|
||||
jdk = oraclejdk;
|
||||
};
|
||||
|
||||
sqlx-cli = callPackage ../development/tools/rust/sqlx-cli { };
|
||||
sqlx-cli = callPackage ../development/tools/rust/sqlx-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration CoreFoundation Security;
|
||||
};
|
||||
|
||||
squeak = callPackage ../development/compilers/squeak { };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user