commit fa541ffa72d867af93421eb6ba3cac2be3c75f20
parent ab1d00fcccf7f9342d4d7fd9c1493d17ed7051e8
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 23 Mar 2022 11:47:40 +0100
users/vincent: do not set global GOPATH anymore
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/users/vincent/core/shell.nix b/users/vincent/core/shell.nix
@@ -18,7 +18,6 @@
env = ''
export PATH=$HOME/bin:$PATH
export LESSHISTFILE="${config.xdg.dataHome}/less_history"
- export GOPATH=${config.home.homeDirectory}
export WEBKIT_DISABLE_COMPOSITING_MODE=1;
export PATH=$HOME/bin:$PATH
if [ -d $HOME/.krew/bin ]; then
diff --git a/users/vincent/core/zsh.nix b/users/vincent/core/zsh.nix
@@ -78,7 +78,7 @@ in
(( $+functions[zshz] )) && compdef _zshz j
'';
loginExtra = ''
- export GOPATH=${config.home.homeDirectory}
+ # export GOPATH=${config.home.homeDirectory}
'';
profileExtra = ''
if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi
diff --git a/users/vincent/dev/go.nix b/users/vincent/dev/go.nix
@@ -2,7 +2,7 @@
{
home.sessionVariables = {
- GOPATH = "${config.home.homeDirectory}";
+ # GOPATH = "${config.home.homeDirectory}";
};
home.packages = with pkgs; [
gcc