mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
remmina: fix GSettings schemas not found error
Use gappWrapper to wrap the program so that remmina can find GSettings schemas.
This commit is contained in:
parent
9b2fbb776b
commit
40d8b743f4
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wrapGAppsHook
|
||||||
, glib, gtk3, gettext, libxkbfile, libgnome_keyring, libX11
|
, glib, gtk3, gettext, libxkbfile, libgnome_keyring, libX11
|
||||||
, freerdp, libssh, libgcrypt, gnutls, makeDesktopItem
|
, freerdp, libssh, libgcrypt, gnutls, makeDesktopItem
|
||||||
, pcre, webkitgtk, libdbusmenu-gtk3, libappindicator-gtk3
|
, pcre, webkitgtk, libdbusmenu-gtk3, libappindicator-gtk3
|
||||||
@ -45,7 +45,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "07lj6a7x9cqcff18pwfkx8c8iml015zp6sq29dfcxpfg4ai578h0";
|
sha256 = "07lj6a7x9cqcff18pwfkx8c8iml015zp6sq29dfcxpfg4ai578h0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake pkgconfig makeWrapper
|
buildInputs = [ cmake pkgconfig wrapGAppsHook
|
||||||
glib gtk3 gettext libxkbfile libgnome_keyring libX11
|
glib gtk3 gettext libxkbfile libgnome_keyring libX11
|
||||||
freerdp_git libssh libgcrypt gnutls
|
freerdp_git libssh libgcrypt gnutls
|
||||||
pcre webkitgtk libdbusmenu-gtk3 libappindicator-gtk3
|
pcre webkitgtk libdbusmenu-gtk3 libappindicator-gtk3
|
||||||
@ -55,10 +55,15 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
cmakeFlags = "-DWITH_VTE=OFF -DWITH_TELEPATHY=OFF -DWITH_AVAHI=OFF -DWINPR_INCLUDE_DIR=${freerdp_git}/include/winpr2";
|
cmakeFlags = "-DWITH_VTE=OFF -DWITH_TELEPATHY=OFF -DWITH_AVAHI=OFF -DWINPR_INCLUDE_DIR=${freerdp_git}/include/winpr2";
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(
|
||||||
|
--prefix LD_LIBRARY_PATH : "${libX11.out}/lib"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -pv $out/share/applications
|
mkdir -pv $out/share/applications
|
||||||
cp ${desktopItem}/share/applications/* $out/share/applications
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||||
wrapProgram $out/bin/remmina --prefix LD_LIBRARY_PATH : "${libX11.out}/lib"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user