rustc: apply patch to fix thin archive reading

authored by

figsoda and committed by
zowoq
88a42ba3 b74764e3

+8
+8
pkgs/development/compilers/rust/1_67.nix
··· 17 , makeRustPlatform 18 , llvmPackages_11 19 , llvmPackages_15, llvm_15 20 } @ args: 21 22 import ./default.nix { ··· 58 selectRustPackage = pkgs: pkgs.rust_1_67; 59 60 rustcPatches = [ 61 ]; 62 } 63
··· 17 , makeRustPlatform 18 , llvmPackages_11 19 , llvmPackages_15, llvm_15 20 + , fetchpatch 21 } @ args: 22 23 import ./default.nix { ··· 59 selectRustPackage = pkgs: pkgs.rust_1_67; 60 61 rustcPatches = [ 62 + # fix thin archive reading 63 + # https://github.com/rust-lang/rust/pull/107360 64 + (fetchpatch { 65 + name = "revert-back-to-llvmarchivebuilder-on-all-platforms.patch"; 66 + url = "https://github.com/rust-lang/rust/commit/de363d54c40a378717881240e719f5f7223ba376.patch"; 67 + hash = "sha256-3Xb803LZUZ1dldxGJ65Iw6gg1V1K827OB/0b32GqilU="; 68 + }) 69 ]; 70 } 71