From 5267a346192e88f46e60798330869e9f0f714f6d Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 10 May 2023 23:52:26 +0200 Subject: [PATCH] chromiumBeta: Fix the configuration phase The configuration phase was failing with "No package 'libevdev' found". See [0] for the full output. The build phase is still failing and we probably need to use a patch to avoid requiring a newer, unreleased LLVM version. [0]: https://github.com/NixOS/nixpkgs/issues/213862#issuecomment-1540854965 --- pkgs/applications/networking/browsers/chromium/common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index da0172228fbf..774c61b55678 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -36,6 +36,7 @@ , curl , libffi , libepoxy +, libevdev # postPatch: , glibc # gconv + locale # postFixup: @@ -154,6 +155,8 @@ let curl libepoxy libffi + ] ++ lib.optionals (chromiumVersionAtLeast "114") [ + libevdev ] ++ lib.optional systemdSupport systemd ++ lib.optionals cupsSupport [ libgcrypt cups ] ++ lib.optional pulseSupport libpulseaudio;