mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-22 21:33:21 +03:00
rustup: use buildFeatures
This commit is contained in:
parent
fdf41beab1
commit
314d6b8c35
@ -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}"; } ''
|
||||
|
Loading…
Reference in New Issue
Block a user