Go: Difference between revisions
imported>Makefu No edit summary |
imported>Milahu remove the outdated go2nix, replace with vgo2nix and gomod2nix |
||
| Line 2: | Line 2: | ||
== Packaging go modules == | == Packaging go modules == | ||
There are helper tools such as [https://github.com/ | There are helper tools such as [https://github.com/nix-community/vgo2nix vgo2nix] and [https://github.com/tweag/gomod2nix gomod2nix], however the nixpkgs library function '''buildGoModule''' does an absolutely fantastic job in packaging standard go modules. | ||
See [https://nixos.org/manual/nixpkgs/stable/#sec-language-go nixpkgs manual '''Language: Go'''] | See [https://nixos.org/manual/nixpkgs/stable/#sec-language-go nixpkgs manual '''Language: Go'''] | ||