Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Running Zombienet via Nix #772

Merged
merged 3 commits into from
Mar 8, 2023
Merged

Conversation

dzmitry-lahoda
Copy link
Contributor

@dzmitry-lahoda dzmitry-lahoda commented Mar 5, 2023

for #690

 nix run .# --show-trace --print-build-logs  -- spawn examples/0001-small-network.tom

good

  • builds all in isolated reproducible environment
  • during run provides all env deps (no need to install and version manually)

bad

I am ok with fixing nix each time zombienet adds new member. Anyway I update already nix in our repo.

@dzmitry-lahoda dzmitry-lahoda marked this pull request as draft March 5, 2023 11:01
@dzmitry-lahoda dzmitry-lahoda marked this pull request as draft March 5, 2023 11:01
@dzmitry-lahoda dzmitry-lahoda changed the title #draft #wip Running zombienet via nix Running zombienet via Nix Mar 5, 2023
@dzmitry-lahoda dzmitry-lahoda marked this pull request as ready for review March 5, 2023 11:19
@pepoviola
Copy link
Collaborator

Hi @dzmitry-lahoda, looks good!! We should also add some docs to our Readme/mdBook about this option for install/use zombienet.

@pepoviola pepoviola merged commit 4fc5775 into paritytech:main Mar 8, 2023
@dzmitry-lahoda
Copy link
Contributor Author

@pepoviola let me use this sandboxed flake in our repo, and then will provide docs. (now we are on non sandboxed hacks on old version).

@wirednkod
Copy link
Contributor

@dzmitry-lahoda please use the #775 for tracking reference concerning the docs

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants