Skip to content
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

ci: move to Nix (simpler, easy to maintain version) #1320

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 27, 2024

  1. ci: move to Nix

    You can switch flawlessly from Rust stable, MSRV, and nightly using
    either:
    
    - `nix develop .`: Rust MRSV
    - `nix develop .#msrv`: Rust MRSV
    - `nix develop .#stable`: Rust latest stable
    - `nix develop .#nightly`: Rust Nightly
    
    Also you don't need to worry about installing binaries from `bitcoind`
    or `electrs` crates,
    since we fetch these from `nixpkgs` (with pinned versions) and add them
    to your local environment.
    Additionally, all the extra dependencies that you need for WASM are
    handled as well.
    Finally, no need to set ENV vars: they are also set all by default to
    you.
    
    If you are committing typos, or failing to adhere to our guidelines in
    [CONTRIBUTING.md](CONTRIBUTING.md);
    we won't let you commit or push.
    This is handled by Nix's automated `pre-commit` hooks which gives
    helpful error messages.
    
    Please check the [Nix.md](Nix.md) file to learn more about Nix and what
    we are aiming to do with the Nix integration into BDK.
    storopoli committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4e37eb2 View commit details
    Browse the repository at this point in the history