Skip to content

Add flake.nix#994

Closed
rustaceanrob wants to merge 1 commit into
lightningdevkit:mainfrom
rustaceanrob:nix-flake
Closed

Add flake.nix#994
rustaceanrob wants to merge 1 commit into
lightningdevkit:mainfrom
rustaceanrob:nix-flake

Conversation

@rustaceanrob

@rustaceanrob rustaceanrob commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

NixOS cannot execute the generic Linux electrs binary that the electrsd crate downloads for the integration tests. Provides a devshell that supplies bitcoind and a source-built Blockstream electrs from nixpkgs, along with BITCOIND_EXE and ELECTRS_EXE environment variables. Encountered when reviewing #828

@ldk-reviews-bot

ldk-reviews-bot commented Jul 17, 2026

Copy link
Copy Markdown

I've assigned @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot
ldk-reviews-bot requested a review from tnull July 17, 2026 18:23
NixOS cannot execute the generic Linux `electrs` binary that the
`electrsd` crate downloads for the integration tests. Provide a devshell
that supplies bitcoind and a source-built Blockstream electrs from
nixpkgs, along with `BITCOIND_EXE` and `ELECTRS_EXE` environment
variables.

@tnull tnull left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but not sure we want to go there. If you run nixOS that's great, but I'm not sure we want to start going down the road of add any larger OS-specific config files to this repo.

@rustaceanrob

rustaceanrob commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Fair enough. Perhaps I framed this poorly. Anyone on a unix-like system that has nix installed can benefit from this environment, but if nix isn't a common development tool for the project I will close this. For anyone that uses nix following along, I had an LLM build a more comprehensive development environment: https://github.com/rustaceanrob/ldk-node-flake/tree/master

@rustaceanrob
rustaceanrob deleted the nix-flake branch July 21, 2026 15:36
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.

3 participants