From 9814db7e4e8e06999d969556af1a79a0a20a34d5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Mar 2022 18:35:08 -0800 Subject: go: ensure GOBIN is in PATH --- users/fcuny/devel/go.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'users/fcuny') 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 ]; } -- cgit 1.4.1