Commit 984e27cd authored by gilice's avatar gilice
Browse files

fluffychat: fix encryption

Closes #225283
parent 8ac4c1de
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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