From c0ead3d0c4ae8762be2fdbb0e191c285876dd904 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 7 May 2021 16:09:57 +0200 Subject: [PATCH] chromiumBeta: Add curl as dependency to fix the build This fixes the following build error: [14969/46739] CXX obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o[KK[K.o[KKy_reader.or.od.ooor_linux.mojom-shared.o FAILED: obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o clang++ [...] ../../third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc:17:10: fatal error: 'curl/curl.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. --- pkgs/applications/networking/browsers/chromium/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 73ce022915c..db0ddc47cc5 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -20,6 +20,7 @@ , pipewire , libva , libdrm, wayland, mesa, libxkbcommon # Ozone +, curl # optional dependencies , libgcrypt ? null # gnomeSupport || cupsSupport @@ -155,6 +156,7 @@ let pipewire libva libdrm wayland mesa.drivers libxkbcommon + curl ] ++ optional gnomeKeyringSupport libgnome-keyring3 ++ optionals gnomeSupport [ gnome.GConf libgcrypt ] ++ optionals cupsSupport [ libgcrypt cups ]