Merge pull request #331970 from happysalada/nushell_plugin_query_fix_build

nushellPlugins.query: fix build
This commit is contained in:
Yt 2024-08-03 17:01:55 +00:00 committed by GitHub
commit 37648eae0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@
, nix-update-script
, pkg-config
, openssl
, curl
}:
rustPlatform.buildRustPackage {
@ -16,7 +17,7 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [ pkg-config ]
++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs = [ openssl ]
buildInputs = [ openssl curl ]
++ lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
cargoBuildFlags = [ "--package nu_plugin_query" ];