From 0f7756d322f624829c7b462099b458bb07b0df3f Mon Sep 17 00:00:00 2001 From: gbtb Date: Mon, 15 Nov 2021 22:25:35 +1000 Subject: [PATCH 1/2] rocketchat-desktop: added wrapGAppsHook --- .../instant-messengers/rocketchat-desktop/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix index 36e7a651eb3e..4cf99c8f4aac 100644 --- a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, pkgs, fetchurl }: +{ lib, stdenv, pkgs, fetchurl, wrapGAppsHook }: let libPathNative = { packages }: lib.makeLibraryPath packages; in @@ -11,6 +11,9 @@ stdenv.mkDerivation rec { sha256 = "1ri8a60fsbqgq83f8wkyfnd59nqk4d0gpz1vanj54769zflpl71s"; }; + nativeBuildInputs = [ + wrapGAppsHook #to fully work with gnome also needs programs.dconf.enable = true in your configuration.nix + ]; buildInputs = with pkgs; [ gtk3 stdenv.cc.cc From 2411e72fa4e0d7ce78bdb6dd14b2beb2a4b96013 Mon Sep 17 00:00:00 2001 From: gbtb Date: Wed, 17 Nov 2021 22:29:43 +1000 Subject: [PATCH 2/2] rocketchat-desktop: 3.5.7 -> 3.6.0 --- .../instant-messengers/rocketchat-desktop/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix index 4cf99c8f4aac..73886d1cc52a 100644 --- a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix @@ -4,16 +4,17 @@ let in stdenv.mkDerivation rec { pname = "rocketchat-desktop"; - version = "3.5.7"; + version = "3.6.0"; src = fetchurl { url = "https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${version}/rocketchat_${version}_amd64.deb"; - sha256 = "1ri8a60fsbqgq83f8wkyfnd59nqk4d0gpz1vanj54769zflpl71s"; + sha256 = "1691mzg52hkvkzm4pvmjyc3n04ppxk36rjk7zxh8682ciszz9pl3"; }; nativeBuildInputs = [ wrapGAppsHook #to fully work with gnome also needs programs.dconf.enable = true in your configuration.nix ]; + buildInputs = with pkgs; [ gtk3 stdenv.cc.cc