this derivation will be built: /nix/store/5k5qww12pzjg9cxhlbif1yvmrkqq8jkb-go-test.drv building '/nix/store/5k5qww12pzjg9cxhlbif1yvmrkqq8jkb-go-test.drv' go-test> Running phase: unpackPhase go-test> unpacking source archive /nix/store/k65xfpxxivx7m7gni3mdly1gnjvmychb-source go-test> source root is source go-test> Running phase: patchPhase go-test> Running phase: updateAutotoolsGnuConfigScriptsPhase go-test> Running phase: configurePhase go-test> Running phase: buildPhase go-test> go: inconsistent vendoring in /build/source: go-test> golang.org/x/term@v0.47.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt go-test> golang.org/x/sys@v0.49.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt go-test> golang.org/x/sys@v0.48.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod go-test> golang.org/x/term@v0.46.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod go-test> go-test> To ignore the vendor directory, use -mod=readonly or -mod=mod. go-test> To sync the vendor directory, run: go-test> go mod vendor error: Cannot build '/nix/store/5k5qww12pzjg9cxhlbif1yvmrkqq8jkb-go-test.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/n9hlxglw1q526p1p16na6nri3fvpfxyz-go-test Last 16 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/k65xfpxxivx7m7gni3mdly1gnjvmychb-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > go: inconsistent vendoring in /build/source: > golang.org/x/term@v0.47.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt > golang.org/x/sys@v0.49.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt > golang.org/x/sys@v0.48.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod > golang.org/x/term@v0.46.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod > > To ignore the vendor directory, use -mod=readonly or -mod=mod. > To sync the vendor directory, run: > go mod vendor For full logs, run: nix log /nix/store/5k5qww12pzjg9cxhlbif1yvmrkqq8jkb-go-test.drv