chromium: Fix the Ozone/Wayland support
The stable channel update to M92 (97570d30c7f) broke the Wayland support: $ chromium --enable-features=UseOzonePlatform --ozone-platform=wayland [31712:31712:0721/114725.940557:ERROR:wayland_connection.cc(137)] Failed to load wayland client libraries. [31712:31712:0721/114725.940641:FATAL:ozone_platform_wayland.cc(177)] Failed to initialize Wayland platform [0721/114725.947566:ERROR:process_memory_range.cc(75)] read out of range Trace/breakpoint trap (core dumped) (cherry picked from commit bb651d27fd86814087f54eaefda0a0fc04d4d6cf)
This commit is contained in:
parent
a04e7e7ee4
commit
8b75191bea
|
@ -1,8 +1,7 @@
|
||||||
{ newScope, config, stdenv, fetchurl, makeWrapper
|
{ newScope, config, stdenv, fetchurl, makeWrapper
|
||||||
, llvmPackages_11, llvmPackages_12, ed, gnugrep, coreutils, xdg-utils
|
, llvmPackages_11, llvmPackages_12, ed, gnugrep, coreutils, xdg-utils
|
||||||
, glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit
|
, glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit
|
||||||
, libva ? null
|
, libva, pipewire, wayland
|
||||||
, pipewire
|
|
||||||
, gcc, nspr, nss, runCommand
|
, gcc, nspr, nss, runCommand
|
||||||
, lib
|
, lib
|
||||||
|
|
||||||
|
@ -165,7 +164,7 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
buildCommand = let
|
buildCommand = let
|
||||||
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
|
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
|
||||||
libPath = lib.makeLibraryPath [ libva pipewire gtk3 ];
|
libPath = lib.makeLibraryPath [ libva pipewire wayland gtk3 ];
|
||||||
|
|
||||||
in with lib; ''
|
in with lib; ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
|
Loading…
Reference in New Issue