rustup: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 19:47:36 -05:00
parent fdf41beab1
commit 314d6b8c35

View File

@ -40,7 +40,9 @@ rustPlatform.buildRustPackage rec {
zlib
] ++ lib.optionals stdenv.isDarwin [ CoreServices Security libiconv xz ];
cargoBuildFlags = [ "--features no-self-update" ];
buildFeatures = [ "no-self-update" ];
checkFeatures = [ ];
patches = lib.optionals stdenv.isLinux [
(runCommand "0001-dynamically-patchelf-binaries.patch" { CC = stdenv.cc; patchelf = patchelf; libPath = "$ORIGIN/../lib:${libPath}"; } ''