mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
a4bed25a86
This creates an `mkGoEnv` function which takes care of adding the correct Go package to your development environment and installs development dependencies from tools.go in a Nix derivation. The "normal" workflow around Go with tools.go just sticks development dependencies in $GOBIN which isn't ideal since you have no separation between projects.
12 lines
353 B
Modula-2
12 lines
353 B
Modula-2
module github.com/tweag/gomod2nix
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.1.0
|
|
github.com/nix-community/go-nix v0.0.0-20220528121639-b940fb0a12d8
|
|
github.com/sirupsen/logrus v1.8.1
|
|
golang.org/x/mod v0.5.1
|
|
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
|
|
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect
|
|
)
|