Skip to content

Commit

Permalink
NO-ISSUE: Nix.dev: Moving PATH around so DevBox path is first (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
LightGuard committed Apr 24, 2024
1 parent df724a0 commit b1c04f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
"DEVBOX_COREPACK_ENABLED": "true",
"GOFLAGS": "-modcacherw",
"GOPATH": "$DEVBOX_PROJECT_ROOT/.devbox/gopkgs",
"PATH": "$PATH:$DEVBOX_PROJECT_ROOT/.devbox/gopkgs/bin"
"PATH": "$DEVBOX_PROJECT_ROOT/.devbox/gopkgs/bin:$PATH"
},
"shell": {
"init_hook": [". $VENV_DIR/bin/activate"],
"init_hook": [
". $VENV_DIR/bin/activate",
"[[ $OSTYPE == 'darwin'* ]] && export PATH=$(echo $PATH | tr ':' '\n' | sed '\\|^/nix/store/|d' | paste -sd ':' -)"
],
"scripts": {
"versions": [
"java --version && mvn -v && node -v && pnpm -v && go version && helm version && make -v && python --version && pip --version"
Expand Down

0 comments on commit b1c04f9

Please sign in to comment.