Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions go/go2nix/pkg/resolve/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ func Resolve(cfg Config) error {
"GOMODCACHE=" + gomodcache,
"GONOSUMCHECK=*",
"GOPROXY=off",
// Match the plugin (resolve.rs): in workspace mode, individual
// modules' replace directives are ignored, so MVS may select a
// version the lockfile (generated per-module) doesn't have.
"GOWORK=off",
"GOFLAGS=-mod=readonly",
// The merged GOMODCACHE is assembled from symlinks to Nix store FOD
// outputs (see setupGOMODCACHE). Go's //go:embed rejects symlinks by
Expand Down
Loading