diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-17 08:42:37 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-17 08:43:36 -0800 |
commit | 91daee589cd3c47a0374de724b67bf626b2b0748 (patch) | |
tree | fdfd08e6e180e64ad23e2d40a7f43930ba30068f /users/fcuny/cli | |
parent | sway: configure correctly dbus / keyring (diff) | |
download | world-91daee589cd3c47a0374de724b67bf626b2b0748.tar.gz |
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.
Diffstat (limited to 'users/fcuny/cli')
-rw-r--r-- | users/fcuny/cli/go.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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" ]; }; } |