summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-09-05 12:13:09 +0100
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-09-05 12:13:09 +0100
commitfb7dbc9ebf926d47a2f2b86cb22a3807e015d64c (patch)
tree833ae526f8a3be5422bd15ee94bf29ec4ab2b9c0
parentDon't wake up destination transaction queue if they're not due for retry. (#1... (diff)
downloadsynapse-rei/flake_gcc.tar.xz
Add GCC to the flake rei/flake_gcc
-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