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