diff options
author | figsoda <figsoda@pm.me> | 2021-11-15 19:47:36 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-11-16 08:11:54 -0500 |
commit | 314d6b8c35145945bf6055e43a0e73282141b381 (patch) | |
tree | 9e378f2eecc168e0c173af8e1e65aabb9fa79b87 /pkgs/development/tools/rust/rustup | |
parent | fdf41beab13b969e2feb18fd29a04bfa4c4f7a5f (diff) |
rustup: use buildFeatures
Diffstat (limited to 'pkgs/development/tools/rust/rustup')
-rw-r--r-- | pkgs/development/tools/rust/rustup/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/rustup/default.nix b/pkgs/development/tools/rust/rustup/default.nix index f5e3b9ac4c2f3..3d137f58414e9 100644 --- a/pkgs/development/tools/rust/rustup/default.nix +++ b/pkgs/development/tools/rust/rustup/default.nix @@ -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}"; } '' |