Hi *,
go was updated to version 1.16.5 these days, but my GOROOT seems still to be linked to the old version (1.16.4), therefore go tools do not work properly right now.
$ nixos-version
21.05.1471.a7512bb64b1 (Okapi)
$ readlink $(which go)
/nix/store/fjjvisp7bgz27v7xr1kf6a6rqb0cpajg-go-1.16.5/bin/go
$ go version
go: cannot find GOROOT directory: /nix/store/i68w5xd4kdj8mi1k7nhcxhmy27sf98z4-go-1.16.4/share/go
Is this a bug? How can I ‘reset’ the GOROOT path the NixOS way? I have collected garbage with nix-collect-grabage -d
and rebuild with and without go - but it did not fix the issue so far. Anyone a hint how to fix this issue?
Many thanks,
qitta