diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix index dabfff611afb..ec06bdc48bcc 100644 --- a/pkgs/development/tools/rust/cargo-binstall/default.nix +++ b/pkgs/development/tools/rust/cargo-binstall/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-binstall"; - version = "0.23.1"; + version = "1.0.0"; src = fetchFromGitHub { owner = "cargo-bins"; repo = "cargo-binstall"; rev = "v${version}"; - hash = "sha256-Dpo/J6FTW95rODWeIqD+8YnN4dt5yhLPxoezA1CTM4A="; + hash = "sha256-43AXxTuHwaNLDTDmLps/HbRvQFWyUgLQhTrxHtQCk3k="; }; - cargoHash = "sha256-Nc/kdrLsAooM41pwlkZ3zWsLvFlnxHG/2ZQhPsEyPkI="; + cargoHash = "sha256-F26wjIsBjQ+z+sHGzE7PdYOZi7XwStlOXfbK/lpepDY="; nativeBuildInputs = [ pkg-config @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { buildNoDefaultFeatures = true; buildFeatures = [ "fancy-no-backtrace" + "git" "pkg-config" "rustls" "trust-dns" @@ -53,11 +54,6 @@ rustPlatform.buildRustPackage rec { "--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_v0_20_1" ]; - # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu - postPatch = '' - rm .cargo/config - ''; - meta = with lib; { description = "A tool for installing rust binaries as an alternative to building from source"; homepage = "https://github.com/cargo-bins/cargo-binstall";