fix add missing dep
This commit is contained in:
parent
fd18fa1a8b
commit
f5917a02ec
|
@ -1,18 +1,20 @@
|
|||
{ mkDerivation
|
||||
, aeson
|
||||
, base
|
||||
, bytestring
|
||||
, classy-prelude
|
||||
, http-types
|
||||
, lib
|
||||
, lifted-base
|
||||
, mtl
|
||||
, text
|
||||
, uuid
|
||||
, wai
|
||||
, wai-extra
|
||||
, warp
|
||||
, websockets
|
||||
{
|
||||
mkDerivation,
|
||||
aeson,
|
||||
base,
|
||||
bytestring,
|
||||
classy-prelude,
|
||||
http-types,
|
||||
lib,
|
||||
lifted-base,
|
||||
mtl,
|
||||
text,
|
||||
uuid,
|
||||
wai,
|
||||
wai-extra,
|
||||
warp,
|
||||
websockets,
|
||||
optparse-applicative,
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "jitsi-rooms";
|
||||
|
@ -34,6 +36,7 @@ mkDerivation {
|
|||
wai-extra
|
||||
warp
|
||||
websockets
|
||||
optparse-applicative
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson
|
||||
|
@ -49,6 +52,7 @@ mkDerivation {
|
|||
wai-extra
|
||||
warp
|
||||
websockets
|
||||
optparse-applicative
|
||||
];
|
||||
homepage = "https://github.com/githubuser/jitsi-rooms#readme";
|
||||
license = lib.licenses.bsd3;
|
||||
|
|
|
@ -13,6 +13,7 @@ let
|
|||
backend = (pkgs.callPackage ./backend/default.nix { });
|
||||
frontend = (pkgs.callPackage ./frontend/default.nix { });
|
||||
prodsodyPackage = (pkgs.callPackage ./prodsody/default.nix { });
|
||||
notifyScript = "/run/current-system/sw/bin/send-signal-jitsi-notify";
|
||||
in
|
||||
{
|
||||
options.services.jitsi-rooms = {
|
||||
|
@ -31,7 +32,7 @@ in
|
|||
after = [ "network.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${backend}/bin/jitsi-rooms-exe";
|
||||
ExecStart = "${backend}/bin/jitsi-rooms-exe -n ${notifyScript}";
|
||||
DynamicUser = true;
|
||||
User = "jitsi-rooms-backend";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue