fixes go path

This commit is contained in:
Dennis Schoepf 2025-09-22 16:12:20 +02:00
parent 5ab86007f1
commit c5cb3ebad7

View file

@ -6,6 +6,8 @@
sessionVariables = { sessionVariables = {
GPG_TTY = "$(tty)"; GPG_TTY = "$(tty)";
PROMPT_DIRTRIM = 3; PROMPT_DIRTRIM = 3;
GOPATH = "$HOME/go";
GOROOT = "$(brew --prefix golang)/libexec";
}; };
shellAliases = { shellAliases = {
@ -21,6 +23,8 @@
profileExtra = '' profileExtra = ''
export PATH=\ export PATH=\
$GOPATH/bin:\
$GOROOT/bin:\
/run/current-system/sw/bin:\ /run/current-system/sw/bin:\
/opt/homebrew/bin:$PATH /opt/homebrew/bin:$PATH
''; '';