nushellPlugins.query: fix build

This commit is contained in:
happysalada 2024-08-03 07:58:26 -04:00
parent 6602aa2586
commit df67de0747

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" ];