Unverified Commit c16abd6c authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #243319 from lorenz/fix-chromium

parents c1a82c1e 7261c52f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
, python3, perl
, which
, llvmPackages
, rustc
# postPatch:
, pkgsBuildHost
# configurePhase:
@@ -308,6 +309,11 @@ let
      # To fix the build as we don't provide libffi_pic.a
      # (ld.lld: error: unable to find library -l:libffi_pic.a):
      use_system_libffi = true;
    } // lib.optionalAttrs (chromiumVersionAtLeast "115") {
      # Use nixpkgs Rust compiler instead of the one shipped by Chromium.
      # We do intentionally not set rustc_version as nixpkgs will never do incremental
      # rebuilds, thus leaving this empty is fine.
      rust_sysroot_absolute = "${rustc}";
    } // lib.optionalAttrs proprietaryCodecs {
      # enable support for the H.264 codec
      proprietary_codecs = true;