this derivation will be built: /nix/store/jlsm71a25lv9abxcsznddjm46pzrfr9c-niks3-hook-1.4.0.drv building '/nix/store/jlsm71a25lv9abxcsznddjm46pzrfr9c-niks3-hook-1.4.0.drv' niks3-hook-1.4.0> tribuchet: building on jamie niks3-hook-1.4.0> Running phase: unpackPhase niks3-hook-1.4.0> unpacking source archive /nix/store/pma0bh5hmic38y5z1ibsam4mph57spqg-source niks3-hook-1.4.0> source root is source niks3-hook-1.4.0> Running phase: patchPhase niks3-hook-1.4.0> Running phase: updateAutotoolsGnuConfigScriptsPhase niks3-hook-1.4.0> Running phase: configurePhase niks3-hook-1.4.0> Running phase: buildPhase niks3-hook-1.4.0> Building subPackage ./cmd/niks3-hook niks3-hook-1.4.0> go: inconsistent vendoring in /build/source: niks3-hook-1.4.0> modernc.org/sqlite@v1.60.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt niks3-hook-1.4.0> modernc.org/libc@v1.77.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt niks3-hook-1.4.0> modernc.org/libc@v1.77.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod niks3-hook-1.4.0> modernc.org/sqlite@v1.59.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod niks3-hook-1.4.0> niks3-hook-1.4.0> To ignore the vendor directory, use -mod=readonly or -mod=mod. niks3-hook-1.4.0> To sync the vendor directory, run: niks3-hook-1.4.0> go mod vendor error: Cannot build '/nix/store/jlsm71a25lv9abxcsznddjm46pzrfr9c-niks3-hook-1.4.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/l0hclsximvdxq9wjjgvzx5wjrn9n2kx8-niks3-hook-1.4.0 Last 18 log lines: > tribuchet: building on jamie > Running phase: unpackPhase > unpacking source archive /nix/store/pma0bh5hmic38y5z1ibsam4mph57spqg-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > Building subPackage ./cmd/niks3-hook > go: inconsistent vendoring in /build/source: > modernc.org/sqlite@v1.60.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt > modernc.org/libc@v1.77.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt > modernc.org/libc@v1.77.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod > modernc.org/sqlite@v1.59.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/jlsm71a25lv9abxcsznddjm46pzrfr9c-niks3-hook-1.4.0.drv