/gomod2nix

A tool for turning go modules into nix packages

Primary LanguageGoMIT LicenseMIT

gomod2nix

Build Status

A tool to create a .nix file with locked dependencies from a go project with a go.mod. Very similar to vgo2nix.

Usage

gomod2nix /path/to/project > deps.nix

Then, in your package.nix, you should include goDeps = ./deps.nix. See this project itself for an example.