go: Use correct attribute to set GOPATH
This commit is contained in:
parent
811aa664a0
commit
99a634cef3
@ -1,8 +1,6 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
programs.go.enable = true;
|
||||
|
||||
home.sessionVariables = {
|
||||
GOPATH = "$HOME/.local/share/go";
|
||||
PATH = "$PATH:$GOPATH/bin";
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".local/share/go";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user