Skip to content

Commit a455c78

Browse files
committed
coturn: add systemd support
1 parent 21dfa24 commit a455c78

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

pkgs/by-name/co/coturn/package.nix

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
libmicrohttpd,
1010
sqlite,
1111
nixosTests,
12+
systemdMinimal,
1213
}:
1314

1415
stdenv.mkDerivation rec {
@@ -26,13 +27,17 @@ stdenv.mkDerivation rec {
2627
pkg-config
2728
];
2829

29-
buildInputs = [
30-
openssl
31-
(libevent.override { inherit openssl; })
32-
libprom
33-
libmicrohttpd
34-
sqlite.dev
35-
];
30+
buildInputs =
31+
[
32+
openssl
33+
(libevent.override { inherit openssl; })
34+
libprom
35+
libmicrohttpd
36+
sqlite.dev
37+
]
38+
++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform systemdMinimal) [
39+
systemdMinimal
40+
];
3641

3742
patches = [
3843
./pure-configure.patch

0 commit comments

Comments
 (0)