From 91daee589cd3c47a0374de724b67bf626b2b0748 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 17 Feb 2022 08:42:37 -0800 Subject: go: set GOBIN and GOPRIVATE variables Binaries are going to $HOME/.local/bin.go and we want to make sure that modules coming from git.fcuny.net and golang.fcuny.net are considered private. --- users/fcuny/cli/go.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/fcuny/cli/go.nix b/users/fcuny/cli/go.nix index 990b2ae..a2a1fc5 100644 --- a/users/fcuny/cli/go.nix +++ b/users/fcuny/cli/go.nix @@ -2,5 +2,7 @@ programs.go = { enable = true; goPath = "workspace/go"; + goBin = ".local/bin.go"; + goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ]; }; } -- cgit 1.4.1