mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
rav1e: work around build failure with Rust 1.79
This commit is contained in:
parent
637b531dcf
commit
5e49654644
@ -45,6 +45,8 @@ rustPlatform.buildRustPackage rec {
|
||||
# and linking it with cctools ld64.
|
||||
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||
substituteInPlace build.rs --replace-fail '.arg("-x")' '.arg("-S")'
|
||||
# Thin LTO doesn’t appear to work with Rust 1.79. rav1e fail to build when building fern.
|
||||
substituteInPlace Cargo.toml --replace-fail 'lto = "thin"' 'lto = "fat"'
|
||||
'';
|
||||
|
||||
checkType = "debug";
|
||||
|
Loading…
Reference in New Issue
Block a user