diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-09 18:35:08 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-09 18:35:08 -0800 |
commit | 9814db7e4e8e06999d969556af1a79a0a20a34d5 (patch) | |
tree | df65ee6f46acbf853c23eec66601aa733c3bfe48 | |
parent | system: install sqlite (diff) | |
download | world-9814db7e4e8e06999d969556af1a79a0a20a34d5.tar.gz |
go: ensure GOBIN is in PATH
-rw-r--r-- | users/fcuny/devel/go.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/fcuny/devel/go.nix b/users/fcuny/devel/go.nix index 647da39..d4f1e7b 100644 --- a/users/fcuny/devel/go.nix +++ b/users/fcuny/devel/go.nix @@ -1,8 +1,10 @@ -{ +{ config, ... }: { programs.go = { enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ]; }; + + home.sessionPath = [ config.home.sessionVariables.GOBIN ]; } |