golang bin to $PATH

This commit is contained in:
Hadi
2024-06-27 08:45:21 +00:00
parent b35d35f3d5
commit 2972b4238c
2 changed files with 4 additions and 1 deletions

View File

@@ -27,6 +27,10 @@
size = 1000000;
};
home.sessionPath = [
"$HOME/go/bin"
];
profileExtra = lib.optionalString (config.home.sessionPath != [ ]) ''
export PATH="$PATH''${PATH:+:}${
lib.concatStringsSep ":" config.home.sessionPath