diff options
author | pacien <pacien.trangirard@pacien.net> | 2019-02-23 20:57:20 +0100 |
---|---|---|
committer | pacien <pacien.trangirard@pacien.net> | 2019-02-23 20:57:20 +0100 |
commit | 0c663e90326fa7d81a36643f9e43b8574939fea3 (patch) | |
tree | aed8c73ef93b01c7736205a407055cce08cc9c26 /pkgs/servers/matrix-synapse | |
parent | ce62a9dd112e3d9c8d9e317e87445c7df9ab79cf (diff) | |
download | nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar.gz nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar.bz2 nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar.lz nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar.xz nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.tar.zst nixlib-0c663e90326fa7d81a36643f9e43b8574939fea3.zip |
matrix-synapse: restore entry point for service
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r-- | pkgs/servers/matrix-synapse/default.nix | 5 | ||||
-rw-r--r-- | pkgs/servers/matrix-synapse/homeserver-script.patch | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index 626af744e92d..1b97e0049ed5 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -30,6 +30,11 @@ in buildPythonApplication rec { sha256 = "1ych13x3c2cam7af4q2ariwvzwvr65g3j2x8ajjn33ydwxxbqbg6"; }; + patches = [ + # adds an entry point for the service + ./homeserver-script.patch + ]; + propagatedBuildInputs = [ bcrypt bleach diff --git a/pkgs/servers/matrix-synapse/homeserver-script.patch b/pkgs/servers/matrix-synapse/homeserver-script.patch new file mode 100644 index 000000000000..95e28196a229 --- /dev/null +++ b/pkgs/servers/matrix-synapse/homeserver-script.patch @@ -0,0 +1,21 @@ +diff --git a/homeserver b/homeserver +new file mode 120000 +index 0000000..2f1d413 +--- /dev/null ++++ b/homeserver +@@ -0,0 +1,1 @@ ++synapse/app/homeserver.py +\ No newline at end of file +diff --git a/setup.py b/setup.py +index b00c2af..c7f6e0a 100755 +--- a/setup.py ++++ b/setup.py +@@ -92,6 +92,6 @@ setup( + include_package_data=True, + zip_safe=False, + long_description=long_description, +- scripts=["synctl"] + glob.glob("scripts/*"), ++ scripts=["synctl", "homeserver"] + glob.glob("scripts/*"), + cmdclass={'test': TestCommand}, + ) + |