From 1983d4fdfc28640993dd00c1ceed0e87a09d345c Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 8 Oct 2012 15:06:15 +0200 Subject: [PATCH] chromium: Build using libusb (1.0) from nixpkgs. This dependency has recently been added to chromium while we didn't notice it, so let's avoid to use the bundled version. It might make sense to remove the unneeded files in third_party/ based on a whitelist, so that we notice future changes like this earlier. Signed-off-by: aszlig --- pkgs/applications/networking/browsers/chromium/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index c4dc413c0f5..1ea854c5e9d 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -5,7 +5,7 @@ , libevent, expat, libjpeg , libpng, libxml2, libxslt , xdg_utils, yasm, zlib -, libexif +, libusb1, libexif , python, perl, pkgconfig , nspr, udev, krb5 @@ -59,6 +59,7 @@ let use_system_libexif = true; use_system_libjpeg = true; use_system_libpng = true; + use_system_libusb = true; use_system_libxml = true; use_system_speex = true; use_system_ssl = cfg.openssl; @@ -80,7 +81,7 @@ let libevent expat libjpeg libpng libxml2 libxslt xdg_utils yasm zlib - libexif + libusb1 libexif ]; maybeSeccompPatch = let