Hey all, I am having some issues with getting these 2 pieces of software packaged with gomod2nix
(GitHub - terra-money/core: GO implementation of the Terra Protocol and GitHub - regen-network/regen-ledger: 馃尡 Blockchain for planetary regeneration). When gomod2nix works its amazing! But I find it kind of hard to debug when it goes wrong. I don鈥檛 personally write any go, so the errors might be an obvious oversight on my part.
Here are the two errors I get:
github.com/CosmWasm/wasmvm/api
# github.com/CosmWasm/wasmvm/api
vendor/github.com/CosmWasm/wasmvm/api/mock_failure.go:15:27: undefined: GoAPI
vendor/github.com/CosmWasm/wasmvm/api/mocks.go:192:2: undefined: GasMeter
vendor/github.com/CosmWasm/wasmvm/api/mocks.go:193:20: undefined: Gas
and
app/app.go:10:2: cannot find package "." in:
/build/source/vendor/github.com/regen-network/regen-ledger/types/module
app/app.go:95:2: cannot find package "." in:
/build/source/vendor/github.com/regen-network/regen-ledger/types/module/server
app/app.go:96:2: cannot find package "." in:
/build/source/vendor/github.com/regen-network/regen-ledger/x/ecocredit
app/app.go:11:2: cannot find package "." in:
/build/source/vendor/github.com/regen-network/regen-ledger/x/ecocredit/module
I wrote up actual issues and created reproduction repos for these:
- Undefined entities in vendor 路 Issue #21 路 nix-community/gomod2nix 路 GitHub
- Cannot find package "." in 路 Issue #20 路 nix-community/gomod2nix 路 GitHub
Any advice, posts / materials on these kinds of issues, or obvious fixes would be greatly appreciated!