mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
cargo-update: fix darwin build (#46625)
On darwin libcurl is also needed. /cc ZHF #45961
This commit is contained in:
parent
9ef31b2f96
commit
d782c4eba5
@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, libssh2, libgit2, openssl, zlib }:
|
||||
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, curl, libssh2, libgit2, openssl, zlib }:
|
||||
|
||||
((callPackage ./cargo-update.nix {}).cargo_update {}).override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
@ -13,7 +13,9 @@
|
||||
sha256 = "1bvrdgcw2akzd78wgvsisvghi8pvdk3szyg9s46qxv4km9sf88s7";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libssh2 libgit2 openssl zlib ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libssh2 libgit2 openssl zlib ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin curl;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A cargo subcommand for checking and applying updates to installed executables";
|
||||
|
Loading…
Reference in New Issue
Block a user