Skip to content

Commit

Permalink
mautrix-signal: add version test
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Heiss <[email protected]>
  • Loading branch information
christoph-heiss committed Nov 5, 2024
1 parent 1b360a5 commit fa2e57d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/servers/mautrix-signal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
fetchpatch,
olm,
libsignal-ffi,
versionCheckHook,
# This option enables the use of an experimental pure-Go implementation of
# the Olm protocol instead of libolm for end-to-end encryption. Using goolm
# is not recommended by the mautrix developers, but they are interested in
Expand Down Expand Up @@ -59,6 +60,10 @@ buildGoModule rec {
export CGO_LDFLAGS="-lstdc++"
'');

doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];

meta = with lib; {
homepage = "https://github.com/mautrix/signal";
description = "Matrix-Signal puppeting bridge";
Expand Down

0 comments on commit fa2e57d

Please sign in to comment.