golang bin to $PATH

Former-commit-id: 2972b4238c
This commit is contained in:
Hadi
2024-06-27 08:45:21 +00:00
parent 9dc7b851f5
commit 27ac4008f8
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