-
Notifications
You must be signed in to change notification settings - Fork 30
docs: adds nix to readme #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,29 @@ A transaction is displayed. | |
|
|
||
| ### Prerequisites | ||
|
|
||
| #### Install nix (preferred) | ||
|
|
||
| For a better developer experience we suggest nix usage for managing the enviroment. Visit this [link](https://nixos.org/download/#download-nix) to download it. | ||
|
|
||
| To enable the commands `nix develop` and `nix build` using flakes, add the following to your `/etc/nix/nix.conf` file: | ||
|
|
||
| ``` | ||
| experimental-features = nix-command flakes | ||
| ``` | ||
|
|
||
| #### Clone the project and install dependencies | ||
| ```sh | ||
| $ git clone https://github.com/HathorNetwork/hathor-wallet.git | ||
| ``` | ||
| To initialize nix dev environment: | ||
| ```sh | ||
| $ nix develop | ||
|
Comment on lines
+43
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove shell prompts from command blocks. Line 43 and Line 47 include Suggested edit-$ git clone https://github.com/HathorNetwork/hathor-wallet.git
+git clone https://github.com/HathorNetwork/hathor-wallet.git
...
-$ nix develop
+nix develop🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 43-43: Dollar signs used before commands without showing output (MD014, commands-show-output) [warning] 47-47: Dollar signs used before commands without showing output (MD014, commands-show-output) 🤖 Prompt for AI Agents |
||
| ``` | ||
| then, install the depencies: | ||
| ```sh | ||
| yarn | ||
| ``` | ||
|
|
||
| * Install node v22 | ||
|
|
||
| ### To install dependencies | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add language identifier to fenced code block.
Line 37 starts a fenced block without a language, which triggers markdown linting and reduces readability.
Suggested edit
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 37-37: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents