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 604d667 commit 6461f4d
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 @@ -54,6 +55,10 @@ buildGoModule rec {
export LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH"
'';

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 6461f4d

Please sign in to comment.