fluffychat: fix encryption

Closes #225283
This commit is contained in:
gilice
2023-04-08 15:17:54 +02:00
parent 8ac4c1de3f
commit 984e27cd84
@@ -8,6 +8,8 @@
, jsoncpp
, wrapGAppsHook
, makeDesktopItem
, openssl
, olm
}:
let
@@ -36,7 +38,6 @@ stdenv.mkDerivation {
genericName = "Chat with your friends (matrix client)";
categories = [ "Chat" "Network" "InstantMessaging" ];
};
buildInputs = [ gtk3 libsecret jsoncpp ];
nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook imagemagick ];
@@ -45,7 +46,8 @@ stdenv.mkDerivation {
mkdir -p $out/share
mv * $out/share
ln -s $out/share/fluffychat $out/bin/fluffychat
makeWrapper "$out/share/fluffychat" "$out/bin/fluffychat" \
--prefix "LD_LIBRARY_PATH" ":" "${lib.makeLibraryPath [ openssl olm ]}"
FAV=$out/share/data/flutter_assets/assets/favicon.png
ICO=$out/share/icons