forked from mirrors/nixpkgs
mongodb-compass: add wrapGAppsHook
This commit is contained in:
parent
195c263a81
commit
5682fe1584
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue