Skip to content

Commit

Permalink
fix shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Apr 29, 2024
1 parent 11fa080 commit 0969f7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ pkgs.mkShell {

# Install nvm
postShellHooks = ''
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v${nvmVersion}/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
'';
}

0 comments on commit 0969f7f

Please sign in to comment.