What is this workshop about? Provide as many details as possible.
This workshop will teach users how to incorporate Nix into their codebase.
It is especially geared towards Bitcoin developers since running tests and checks against bitcoin core and other dependencies or interaction tooling, e.g. esplora and electrs, is not trivial;
both in CI and locally.
What would an attendee learn from this workshop?
What are Nix derivations
What are Nix flakes
How to add a flake to your codebase
How to package bitcoin software with Nix derivations, we'll provide examples with bitcoin core, esplora and electrs
How to run CI with Nix both locally and in GitHub Actions
Is there anything attendees should read up on before they attend this talk?
There's a Nix PR (that might be already merged by then) in BDK,
Nix.md,
that shows the rationale and motives behind having a Nix-based CI.
It might be a good read for attendees.
Alongside the BDK's Nix PR, there is also an interesting (but opinionated) learning resource: Zero to Nix. It's useful for attendees interested in learning and having hands-on before the workshop, with a good guide covering most of the nix ecosystem and explanation pages of Nix concepts.
Is there anything attendees should set up before the workshop?
Please install Nix, we suggest using the
Determinate Systems' Nix installer
that already adds flakes and nix-command extra functionality required for the workshop.
It is a very convenient and robust curl to bash one liner
(of course, be aware of these "automated internet scripts", don't trust, verify!).
Jose Storopoli (@storopoli): PhD in computational stats, recovering ex-academic, Nix and Rust enthusiast,
contributor to rust-bitcoin and BDK, works at @PortalDefi on Bitcoin-backed atomic swaps.
Leonardo Lima (@oleonardolima): Sofware Engineer, Rust & Nix enthusiast, contributor at BDK & Fedimint,
supported by Vinteum.
Description
What is this workshop about? Provide as many details as possible.
This workshop will teach users how to incorporate Nix into their codebase. It is especially geared towards Bitcoin developers since running tests and checks against bitcoin core and other dependencies or interaction tooling, e.g. esplora and electrs, is not trivial; both in CI and locally.
What would an attendee learn from this workshop?
Is there anything attendees should read up on before they attend this talk?
There's a Nix PR (that might be already merged by then) in BDK,
Nix.md
, that shows the rationale and motives behind having a Nix-based CI. It might be a good read for attendees.Alongside the BDK's Nix PR, there is also an interesting (but opinionated) learning resource: Zero to Nix. It's useful for attendees interested in learning and having hands-on before the workshop, with a good guide covering most of the nix ecosystem and explanation pages of Nix concepts.
Is there anything attendees should set up before the workshop?
Please install Nix, we suggest using the Determinate Systems' Nix installer that already adds
flakes
andnix-command
extra functionality required for the workshop. It is a very convenient and robustcurl
tobash
one liner (of course, be aware of these "automated internet scripts", don't trust, verify!).Relevant Links
nixpkgs
Reference Manual: https://nixos.org/manual/nixpkgs/stableAbout the Speakers
Not in a specific relevant order:
rust-bitcoin
and BDK, works at @PortalDefi on Bitcoin-backed atomic swaps.Social Links
Github:
Nostr:
Website:
Workshop Details
Proposed time-table:
Length of workshop
2 hours.
Preferred Day/Time Slot
No preference.