feat: nix shell

This commit is contained in:
Ryan Yin
2023-12-13 11:49:21 +08:00
parent 8598bb3361
commit d0ce0ffafd
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ Example:
}
```
Then execute `nix run .#dev`, you will enter a nushell session, where you can use the `node` `pnpm` command normally, and the node version is 20.
Then execute `nix run .#dev` or `nix shell .#dev --command 'dev-shell'`, you will enter a nushell session, where you can use the `node` `pnpm` command normally, and the node version is 20.
The wrapper generated in this way is an executable file, which does not actually depend on the `nix run` or `nix shell` command.