rustup: 1.27.1 -> 1.28.2 (#397177)

Changed files
+5 -4
pkgs
+2 -1
pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch
···
}
"dir" => {
if self.copy {
-
@@ -135,6 +136,175 @@ impl Package for DirectoryPackage {
+
@@ -135,6 +136,176 @@ impl Package for DirectoryPackage {
}
}
···
+fn nix_patchelf_if_needed(dest_path: &Path) {
+ use std::fs::File;
+ use std::os::unix::fs::FileExt;
+
+ use tracing::{debug, warn};
+
+ struct ELFReader<'a> {
+ file: &'a mut File,
+3 -3
pkgs/development/tools/rust/rustup/default.nix
···
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rustup";
-
version = "1.27.1";
+
version = "1.28.2";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rustup";
tag = finalAttrs.version;
-
hash = "sha256-BehkJTEIbZHaM+ABaWN/grl9pX75lPqyBj1q1Kt273M=";
+
hash = "sha256-iX5hEaQwCW9MuyafjXml8jV3EDnxRNUlOoy3Cur/Iyw=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-CQHpsOGofDqsbLLTcznu5a0MSthJgy27HjBk8AYA72s=";
+
cargoHash = "sha256-KljaAzYHbny7KHOO51MotdmNpHCKWdt6kc/FIpFN6c0=";
nativeBuildInputs = [
makeBinaryWrapper