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