sam: Use home-manager first-class option to install Go
This commit is contained in:
parent
4f529eb2f6
commit
fdc7e241de
1 changed files with 5 additions and 1 deletions
|
|
@ -131,7 +131,6 @@
|
||||||
|
|
||||||
clang
|
clang
|
||||||
|
|
||||||
go
|
|
||||||
go-tools
|
go-tools
|
||||||
gopls
|
gopls
|
||||||
|
|
||||||
|
|
@ -142,6 +141,11 @@
|
||||||
historyControl = [ "ignoredups" "ignorespace" ];
|
historyControl = [ "ignoredups" "ignorespace" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.go = {
|
||||||
|
enable = true;
|
||||||
|
env.GOPATH = [ "/home/chandler/.local/share/go" ];
|
||||||
|
};
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue