@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, dpkg
22, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
3−, gnome2, gnome3, libnotify, libxcb, nspr, nss, systemd, xorg }:
3+, gnome2, gnome3, libnotify, libxcb, nspr, nss, systemd, xorg, wrapGAppsHook }:
44
55let
66
@@ -57,7 +57,7 @@ in stdenv.mkDerivation {
5757
5858 inherit src;
5959
60− buildInputs = [ dpkg ];
60+ buildInputs = [ dpkg wrapGAppsHook gnome3.gtk ];
6161 dontUnpack = true;
6262
6363 buildCommand = ''
@@ -76,6 +76,7 @@ in stdenv.mkDerivation {
7676 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$file" || true
7777 patchelf --set-rpath ${rpath}:$out/share/mongodb-compass "$file" || true
7878 done
79+ wrapGAppsHook $out/bin/mongodb-compass
7980 '';
8081
8182 meta = with stdenv.lib; {