about summary refs log tree commit diff
path: root/pkgs/servers/matrix-synapse
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-11-15 12:45:16 -0500
committerNick Cao <nickcao@nichi.co>2023-11-15 12:45:16 -0500
commit9101453cf340c0206fa43d14352a0803e93b363b (patch)
tree1423c3d10df57788e9ef527463201236be5b09e3 /pkgs/servers/matrix-synapse
parent4fb158accfa2821b5a20b12993b79f9effc8c07d (diff)
downloadnixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar.gz
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar.bz2
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar.lz
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar.xz
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.tar.zst
nixlib-9101453cf340c0206fa43d14352a0803e93b363b.zip
matrix-synapse: fix build on darwin
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r--pkgs/servers/matrix-synapse/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix
index 4b7c6d21f30d..ef8ff520c072 100644
--- a/pkgs/servers/matrix-synapse/default.nix
+++ b/pkgs/servers/matrix-synapse/default.nix
@@ -3,6 +3,7 @@
 , fetchFromGitHub
 , python3
 , openssl
+, libiconv
 , cargo
 , rustPlatform
 , rustc
@@ -57,6 +58,8 @@ python3.pkgs.buildPythonApplication rec {
 
   buildInputs = [
     openssl
+  ] ++ lib.optionals stdenv.isDarwin [
+    libiconv
   ];
 
   propagatedBuildInputs = with python3.pkgs; [