mattermost-desktop: fix filechooser causing crash

This commit is contained in:
Evils 2019-11-06 01:16:15 +01:00
parent 7827d3f449
commit 645a6fd739

View file

@ -1,7 +1,9 @@
{ stdenv, fetchurl, gnome2, gtk3, pango, atk, cairo, gdk-pixbuf, glib,
freetype, fontconfig, dbus, libX11, xorg, libXi, libXcursor, libXdamage,
libXrandr, libXcomposite, libXext, libXfixes, libXrender, libXtst,
libXScrnSaver, nss, nspr, alsaLib, cups, expat, udev }:
libXScrnSaver, nss, nspr, alsaLib, cups, expat, udev, wrapGAppsHook,
hicolor-icon-theme }:
let
rpath = stdenv.lib.makeLibraryPath [
alsaLib
@ -58,6 +60,8 @@ in
dontConfigure = true;
dontPatchELF = true;
buildInputs = [ wrapGAppsHook gtk3 hicolor-icon-theme ];
installPhase = ''
mkdir -p $out/share/mattermost-desktop
cp -R . $out/share/mattermost-desktop