Unverified Commit 37648eae authored by Yt's avatar Yt Committed by GitHub
Browse files

Merge pull request #331970 from happysalada/nushell_plugin_query_fix_build

nushellPlugins.query: fix build
parents 92d42b4f df67de07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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" ];