rustup: use makeBinaryWrapper instead of makeWrapper

Fix https://github.com/rust-lang/rustup/issues/3072
This commit is contained in:
Nils 2022-09-23 18:26:41 +01:00
parent 913b37909b
commit 485fe8e9ba

View file

@ -4,7 +4,7 @@
, patchelf , patchelf
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, makeWrapper , makeBinaryWrapper
, pkg-config , pkg-config
, openssl , openssl
, curl , curl
@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-FDVZn2PjqxovQmmandJICkidurhoXCAxo3bibuxQSMY="; cargoSha256 = "sha256-FDVZn2PjqxovQmmandJICkidurhoXCAxo3bibuxQSMY=";
nativeBuildInputs = [ makeWrapper pkg-config ]; nativeBuildInputs = [ makeBinaryWrapper pkg-config ];
buildInputs = [ buildInputs = [
(curl.override { inherit openssl; }) (curl.override { inherit openssl; })