3
0
Fork 0
forked from mirrors/nixpkgs

mongodb-compass: add wrapGAppsHook

This commit is contained in:
Kyle Sferrazza 2019-11-18 13:26:27 -05:00 committed by Lassulus
parent 195c263a81
commit 5682fe1584

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, dpkg
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
, gnome2, gnome3, libnotify, libxcb, nspr, nss, systemd, xorg }:
, gnome2, gnome3, libnotify, libxcb, nspr, nss, systemd, xorg, wrapGAppsHook }:
let
@ -57,7 +57,7 @@ in stdenv.mkDerivation {
inherit src;
buildInputs = [ dpkg ];
buildInputs = [ dpkg wrapGAppsHook gnome3.gtk ];
dontUnpack = true;
buildCommand = ''
@ -76,6 +76,7 @@ in stdenv.mkDerivation {
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$file" || true
patchelf --set-rpath ${rpath}:$out/share/mongodb-compass "$file" || true
done
wrapGAppsHook $out/bin/mongodb-compass
'';
meta = with stdenv.lib; {