Skip to content

Add usage example in readme#1

Open
bossvip wants to merge 1 commit intoNousResearch:mainfrom
bossvip:example-usage
Open

Add usage example in readme#1
bossvip wants to merge 1 commit intoNousResearch:mainfrom
bossvip:example-usage

Conversation

@bossvip
Copy link
Copy Markdown

@bossvip bossvip commented Nov 10, 2024

@arilotter thanks for building this flake. After struggling with nix a bit, I realized we need to add nodejs, yarn and rustup with the stable toolchain. I'm posting an update to the readme that illustrates how to use your flake.

@arilotter
Copy link
Copy Markdown
Collaborator

hmmm, while node and yarn make sense to me for Anchor, not sure why we need Rustup. What do you need that for?

@bossvip
Copy link
Copy Markdown
Author

bossvip commented Nov 11, 2024

anchor build would not work without the stable toolchain. I'm running NixOS where rustup or rust is not globally present. anchor build would try searching for rustup and fail. After adding rustup, I had to run a shell command rustup default stable to make anchor work.

@arilotter
Copy link
Copy Markdown
Collaborator

anchor build would not work without the stable toolchain. I'm running NixOS where rustup or rust is not globally present. anchor build would try searching for rustup and fail. After adding rustup, I had to run a shell command rustup default stable to make anchor work.

got it , sounds like a bug. I'll check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants