summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b89b6d9218..29ad67a13c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -106,6 +106,10 @@
 
                   # Native dependencies for running Complement.
                   olm
+                  # also needed for Complement: without a C compiler, 'CGO' is disabled and
+                  # Go will silently ignore files with `import "C"` like the Olm bindings,
+                  # c.f. https://stackoverflow.com/a/68138546
+                  gcc
 
                   # For building the Synapse documentation website.
                   mdbook