Subject: [bug#75959] [PATCH v10] services: syncthing: Add support for config file generation.

From: Leo Famulari <[email-masked]>
Date: Mon, 24 Feb 2025 22:08:47 -0500

On Sun, Feb 23, 2025 at 12:29:25AM +0100, Rodion Goritskov wrote:
> However, it looks like it is not because the service itself, but because
> of the syncthing upgrade to 1.29.2 in commit
> 06d37f38606fabbace21e55ec7f2546b3ae5214f.

We can see here that Syncthing v1.29 requires Go 1.22 or newer:

https://github.com/syncthing/syncthing/blob/v1.29.2/go.mod#L3

However, the default Go version in Guix is 1.21:

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang.scm?id=68cd38756b51d4abd8c796a5bcbbb9ea053eafde#n1045

I fixed the bug on our end by building Syncthing with Go 1.23:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=68cd38756b51d4abd8c796a5bcbbb9ea053eafde

Please let me know if you still experience this problem.