@@ -18,6 +18,7 @@ import InstallWasmToolsSh from "!!raw-loader!./scripts/setup/install-wasm-tools.
1818import CloneAndBuildSh from " !!raw-loader!./scripts/setup/clone-and-build.sh" ;
1919import BuildSpecializedSh from " !!raw-loader!./scripts/setup/build-specialized.sh" ;
2020import FormatAndLintSh from " !!raw-loader!./scripts/setup/format-and-lint.sh" ;
21+ import NixDevelop from " !!raw-loader!./scripts/setup/nix-develop.sh" ;
2122
2223Welcome to OpenMina development! This guide will help you set up your
2324development environment and build OpenMina from source.
@@ -39,20 +40,7 @@ development environment and build OpenMina from source.
3940
4041### Required Tools
4142
42- #### 1. Rust Toolchain
43-
44- OpenMina requires both stable and nightly Rust toolchains, plus additional tools
45- for development:
46-
47- <CodeBlock language = " bash" >{ InstallRustSh } </CodeBlock >
48-
49- This installs:
50-
51- - Rust 1.84 (stable) and nightly toolchains
52- - Required components: ` rustfmt ` , ` clippy ` , ` rust-src `
53- - ` taplo-cli ` : TOML formatter required for ` make format `
54-
55- #### 2. System Dependencies
43+ #### 1. System Dependencies
5644
5745<Tabs groupId = " operating-systems" >
5846<TabItem value = " linux" label = " Linux (Ubuntu/Debian)" >
@@ -67,6 +55,19 @@ This installs:
6755</TabItem >
6856</Tabs >
6957
58+ #### 2. Rust Toolchain
59+
60+ OpenMina requires both stable and nightly Rust toolchains, plus additional tools
61+ for development:
62+
63+ <CodeBlock language = " bash" >{ InstallRustSh } </CodeBlock >
64+
65+ This installs:
66+
67+ - Rust 1.84 (stable) and nightly toolchains
68+ - Required components: ` rustfmt ` , ` clippy ` , ` rust-src `
69+ - ` taplo-cli ` : TOML formatter required for ` make format `
70+
7071#### 3. Additional Development Tools
7172
7273** Node.js (for documentation and frontend):**
@@ -103,6 +104,13 @@ This installs:
103104
104105<CodeBlock language = " bash" >{ InstallWasmToolsSh } </CodeBlock >
105106
107+ #### 5. Using Nix to install dependencies automatically (alternative)
108+
109+ If you're on NixOS or using nix, you can use the nix-flake provided in the repo
110+ to install the dependencies automatically and enter the shell:
111+
112+ <CodeBlock language = " bash" >{ NixDevelop } </CodeBlock >
113+
106114## Clone and Build OpenMina
107115
108116### 1. Clone the Repository and Build
0 commit comments