Commit fa541ffa72d8

Vincent Demeester <vincent@sbr.pm>
2022-03-23 11:47:40
users/vincent: do not set global GOPATH anymore
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ab1d00f
Changed files (3)
users
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
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
users/vincent/dev/go.nix
@@ -2,7 +2,7 @@
 
 {
   home.sessionVariables = {
-    GOPATH = "${config.home.homeDirectory}";
+    # GOPATH = "${config.home.homeDirectory}";
   };
   home.packages = with pkgs; [
     gcc