From f09c2e774577b41114c44b14e0cb58e3031c407d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Sat, 15 Apr 2017 15:35:42 +0200 Subject: [PATCH] chrome 59 requieres gtk3 --- .../networking/browsers/google-chrome/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix index abc314f8569..e06d8cc3062 100644 --- a/pkgs/applications/networking/browsers/google-chrome/default.nix +++ b/pkgs/applications/networking/browsers/google-chrome/default.nix @@ -4,7 +4,7 @@ , glib, fontconfig, freetype, pango, cairo, libX11, libXi, atk, gconf, nss, nspr , libXcursor, libXext, libXfixes, libXrender, libXScrnSaver, libXcomposite, libxcb , alsaLib, libXdamage, libXtst, libXrandr, expat, cups -, dbus_libs, gtk2, gdk_pixbuf, gcc +, dbus_libs, gtk2, gtk3, gdk_pixbuf, gcc # command line arguments which are always set e.g "--disable-gpu" , commandLineArgs ? "" @@ -47,13 +47,14 @@ let glib fontconfig freetype pango cairo libX11 libXi atk gconf nss nspr libXcursor libXext libXfixes libXrender libXScrnSaver libXcomposite libxcb alsaLib libXdamage libXtst libXrandr expat cups - dbus_libs gtk2 gdk_pixbuf gcc + dbus_libs gdk_pixbuf gcc systemd libexif liberation_ttf curl utillinux xdg_utils wget flac harfbuzz icu libpng opusWithCustomModes snappy speechd bzip2 libcap - ] ++ optional pulseSupport libpulseaudio; + ] ++ optional pulseSupport libpulseaudio + ++ (if (versionAtLeast version "59.0.0.0") then [gtk3] else [gtk2]); suffix = if channel != "stable" then "-" + channel else "";