go: fix goroot env

This commit is contained in:
Tigor Hutasuhut 2024-08-28 10:11:10 +07:00
parent 06b307b4d8
commit a930955644

View file

@ -37,7 +37,7 @@ in
# Some toolings will lookup for $GOROOT env.
home.sessionVariables = {
GOROOT = "${pkgs.go}/share/go";
GOROOT = "${config.programs.go.package}/share/go";
GOPATH = "${config.home.homeDirectory}/go";
GOEXPERIMENT = "rangefunc";
};