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