From db5f7d2b7bfa07647644266b1a20c4424d56cf50 Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Sun, 21 Sep 2025 14:14:48 +0200 Subject: [PATCH] docs: unify Node version (#260) code examples and docs had different Node versions --- docs/en/development/intro.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/development/intro.md b/docs/en/development/intro.md index 51983d6..44e5695 100644 --- a/docs/en/development/intro.md +++ b/docs/en/development/intro.md @@ -108,7 +108,7 @@ stdenv.mkDerivation ({ and other parameters are customizable, and `shellHook` is a special parameter that will be executed when `nix develop` enters the environment. -Here is a `flake.nix` that defines a development environment with Node.js 18 installed: +Here is a `flake.nix` that defines a development environment with Node.js 24 installed: ```nix { @@ -234,7 +234,7 @@ Example: 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. +version is 22. The wrapper generated in this way is an executable file, which does not actually depend on the `nix run` or `nix shell` command.