diff --git a/home/apps/go.nix b/home/apps/go.nix index 10959ac..0d464b1 100644 --- a/home/apps/go.nix +++ b/home/apps/go.nix @@ -2,8 +2,9 @@ programs.go.enable = true; home.sessionVariables = { GOPATH = "${config.xdg.dataHome}/go"; + GOBIN = "${config.home.sessionVariables.GOPATH}/bin"; }; home.sessionPath = [ - "${config.home.sessionVariables.GOPATH}/bin" + "${config.home.sessionVariables.GOBIN}" ]; }