Google Chrome fails to start saying it can't find libxcb:
~
/nix/store/azrxzx4qwbsrmbh2j82brbls8k1lcsvx-google-chrome-55.0.2873.0/share/google/chrome-unstable/google-chrome-unstable: error while loading shared libraries: libxcb.so.1: cannot open shared object file: No such file or directory
~
~ {.bash}
nix-shell -p google-chrome-dev -I nixpkgs=https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.03pre95306.a24728f/nixexprs.tar.xz --run google-chrome-unstable
~
17.03pre95306.a24728f (Gorilla)nix-env (Nix) 1.11.417.03pre95306.a24728fI also tried google-chrome (53), google-chrome-beta (54), and google-chrome-dev directly from nixpkgs (56) – same error on my machine.
I got this error too, I'm on release-16.09 branch up to date
/cc maintainer @msteen.
It work for me with this patch :
diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix
index 10d5079..7c7ff7c 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
, alsaLib, libXdamage, libXtst, libXrandr, expat, cups
-, dbus_libs, gtk, gdk_pixbuf, gcc
+, dbus_libs, gtk, gdk_pixbuf, gcc, libxcb
# Will crash without.
, systemd
@@ -44,7 +44,7 @@ let
glib fontconfig freetype pango cairo libX11 libXi atk gconf nss nspr
libXcursor libXext libXfixes libXrender libXScrnSaver libXcomposite
alsaLib libXdamage libXtst libXrandr expat cups
- dbus_libs gtk gdk_pixbuf gcc
+ dbus_libs gtk gdk_pixbuf gcc libxcb
systemd
libexif
liberation_ttf curl utillinux xdg_utils wget
I prepare a pull request
Hi @msteen, could you port libxcb to branch named release 16.09 ? Thank you !
https://github.com/NixOS/nixpkgs/commit/374f833dab7655b670697b3764319bf0a053d31a
@mikefaille I have just made a pull request #21083 for release 16.09. Thanks for the fix!
Works for me with the pull request. Can we close this?