From f9d9864cb6229c92a7b162441db88dfe61ff5831 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Tue, 25 Oct 2022 22:53:56 +0200 Subject: [PATCH] chromiumBeta: Fix the build The build argument `use_system_libwayland_server` was set to `false` since M107 [0]. This will cause `libwayland` to be built which does in turn pull in `libffi` ("//build/config/linux/libffi") [1]. Alternatively, we should be able to fix the libffi dependency by setting `use_system_libffi = true` (recently added, see [2]) and adding `libffi` to the build inputs. [0]: https://source.chromium.org/chromium/chromium/src/+/b9cd6d676764374c353240a8b1a8c3267309e57d [1]: https://source.chromium.org/chromium/chromium/src/+/refs/tags/107.0.5304.62:third_party/wayland/BUILD.gn [2]: https://source.chromium.org/chromium/chromium/src/+/cf3ee09f082513e48f1212dcebd1e5c7a38ca73f --- pkgs/applications/networking/browsers/chromium/common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 862fc4132756..1759d3fba6ae 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -296,6 +296,7 @@ let } // optionalAttrs (chromiumVersionAtLeast "107") { clang_base_path = "${llvmPackages.clang}"; use_qt = false; + use_system_libwayland_server = true; } // optionalAttrs proprietaryCodecs { # enable support for the H.264 codec proprietary_codecs = true;