Skip to content

Commit

Permalink
rustc: apply patch to fix thin archive reading
Browse files Browse the repository at this point in the history
  • Loading branch information
figsoda authored and zowoq committed Feb 1, 2023
1 parent b74764e commit 88a42ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/compilers/rust/1_67.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
, makeRustPlatform
, llvmPackages_11
, llvmPackages_15, llvm_15
, fetchpatch
} @ args:

import ./default.nix {
Expand Down Expand Up @@ -58,6 +59,13 @@ import ./default.nix {
selectRustPackage = pkgs: pkgs.rust_1_67;

rustcPatches = [
# fix thin archive reading
# https://github.com/rust-lang/rust/pull/107360
(fetchpatch {
name = "revert-back-to-llvmarchivebuilder-on-all-platforms.patch";
url = "https://github.com/rust-lang/rust/commit/de363d54c40a378717881240e719f5f7223ba376.patch";
hash = "sha256-3Xb803LZUZ1dldxGJ65Iw6gg1V1K827OB/0b32GqilU=";
})
];
}

Expand Down

0 comments on commit 88a42ba

Please sign in to comment.