← All repos

gomod2nix

Convert applications using Go modules to Nix expressions [maintainer=@marcusramberg]

Browse cluster: Cosmos blockchain and smart contract languages
334commits
29contributors
4languages

Tech stack & purpose

Gomod2nix converts Go applications that use Go modules into Nix expressions, enabling Go projects to be built within the Nix package manager. The tool runs as a command-line utility from a Go project directory and generates a `gomod2nix.toml` configuration file that integrates with Nix's build system through a custom `buildGoApplication` function. Development of the project has been sponsored by Tweag I/O and funded by the NLNet foundation and the European Commission's Next Generation Internet programme.

Languages

Nix
51.8%
Go
40.3%
Shell
7.8%
Makefile
0.0%

Contributors