about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-09 18:35:08 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-09 18:35:08 -0800
commit9814db7e4e8e06999d969556af1a79a0a20a34d5 (patch)
treedf65ee6f46acbf853c23eec66601aa733c3bfe48 /users/fcuny
parentsystem: install sqlite (diff)
downloadworld-9814db7e4e8e06999d969556af1a79a0a20a34d5.tar.gz
go: ensure GOBIN is in PATH
Diffstat (limited to 'users/fcuny')
-rw-r--r--users/fcuny/devel/go.nix4
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 ];
 }