refactor: add localBin, goBin & rustBin into PATH env

This commit is contained in:
Ryan Yin
2024-09-16 12:42:41 +08:00
parent 5895d7c97d
commit 2abea4e387
3 changed files with 14 additions and 6 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
let
envExtra = ''
{lib}: let
envExtra = lib.mkAfter ''
export PATH="$PATH:/opt/homebrew/bin:/usr/local/bin"
'';
# copied from the content generated by `conda init bash`
initExtra = ''
initExtra = lib.mkAfter ''
arch=$(uname -m)
if [ "aarch64" = "$arch" ] || [ "arm64" = "$arch" ]; then