#12 1.389 main.go:8:2: no required module provides package github.com/go-sql-driver/mysql: go.mod file not found in current directory or any parent directory; see 'go help modules'
#12 1.389 main.go:9:2: no required module provides package github.com/joho/godotenv: go.mod file not found in current directory or any parent directory; see 'go help modules'
#12 1.389 main.go:10:2: no required module provides package go.uber.org/zap: go.mod file not found in current directory or any parent directory; see 'go help modules'
#12 1.389 main.go:6:2: package snippetbox-api/internal is not in GOROOT (/nix/store/hxvbx812hcd8ci4rcx66ipb958g77gp8-go-1.20.8/share/go/src/snippetbox-api/internal)
#12 ERROR: process "/bin/bash -ol pipefail -c go build -o out main.go" did not complete successfully: exit code: 1
> [stage-0 6/6] RUN --mount=type=cache,id=s/9d103b90-f62d-425c-b77c-91c33b0e602f-/root/cache/go-build,target=/root/.cache/go-build go build -o out main.go:
1.389 main.go:8:2: no required module provides package github.com/go-sql-driver/mysql: go.mod file not found in current directory or any parent directory; see 'go help modules'
1.389 main.go:9:2: no required module provides package github.com/joho/godotenv: go.mod file not found in current directory or any parent directory; see 'go help modules'
1.389 main.go:10:2: no required module provides package go.uber.org/zap: go.mod file not found in current directory or any parent directory; see 'go help modules'
1.389 main.go:6:2: package snippetbox-api/internal is not in GOROOT (/nix/store/hxvbx812hcd8ci4rcx66ipb958g77gp8-go-1.20.8/share/go/src/snippetbox-api/internal)