Skip to content

Commit

Permalink
mautrix-signal: fix media uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaskorz committed Oct 27, 2024
1 parent 5353b08 commit 448684e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/servers/mautrix-signal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
fetchpatch,
olm,
libsignal-ffi,
# This option enables the use of an experimental pure-Go implementation of
Expand All @@ -23,6 +24,14 @@ buildGoModule rec {
hash = "sha256-KGIlLGGVaySRrHt6P2AlnDEew/ERyrDYyN2lOz3318M=";
};

patches = [
# fixes broken media uploads, will be included in the next release
(fetchpatch {
url = "https://github.com/mautrix/signal/commit/b09995a892c9930628e1669532d9c1283a4938c8.patch";
hash = "sha256-M8TvCLZG5MbD/Bkpo4cxQf/19dPfbGzMyIPn9utPLco=";
})
];

buildInputs = (lib.optional (!withGoolm) olm) ++ [
# must match the version used in https://github.com/mautrix/signal/tree/main/pkg/libsignalgo
# see https://github.com/mautrix/signal/issues/401
Expand Down

0 comments on commit 448684e

Please sign in to comment.