mirror of
https://github.com/NixOS/templates.git
synced 2026-01-12 09:18:32 +01:00
It took me bit to figure out how to get development dependencies into a go project when converting from shell.nix to flake.nix. I'm hoping adding this here will help those following behind. Some credit for working out how to do this from https://xeiaso.net/blog/nix-flakes-1-2022-02-21 |
||
|---|---|---|
| .. | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| main.go | ||