misilelab
2025-04-09 02:13:35 +09:00
committed by FliegendeWurst
parent 8209ee5677
commit 5bbd076630
2 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ index dfccc661..85233f3b 100644
}
"dir" => {
if self.copy {
@@ -135,6 +136,175 @@ impl Package for DirectoryPackage {
@@ -135,6 +136,176 @@ impl Package for DirectoryPackage {
}
}
@@ -53,6 +53,7 @@ index dfccc661..85233f3b 100644
+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,

View File

@@ -27,17 +27,17 @@ in
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