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

simplify build process using nix #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

disassembler
Copy link

Makes it easier to use for users that don't have docker installed.

Example Usage:

mkdir -p ~/.local/share/daedalus-turbo/data
nix run .# -- sync-http ~/.local/share/daedalus-turbo/data

@sierkov
Copy link
Owner

sierkov commented Feb 27, 2024

@disassembler, thank you for the PR! That's a valid point. The repository is currently in a proof-of-concept stage, so speed of development and, thus, speed of testing are important, and having one build path makes release testing quicker. Will definitely consider Nix support for the beta stage.

P.S. I'm a very occasional user of Nix myself, so If you could share some relevant links to articles/documentation with best practices for supporting and testing Nix builds for multiple platforms (in the beta stage, the project will target Linux, Mac OS, and Windows), that'd be much appreciated!

@disassembler
Copy link
Author

We have our own infrastructure so have a rather complicated setup, but for a simple case like this, I'd look into nixbuild.net with GHAs. https://github.com/nixbuild/nixbuild-action

I'd suggest just merging this. Just having a flake.nix even if it isn't perfectly maintained makes it a lot easier for a nix user to modify if it breaks. Otherwise there's s lot of rebasing and cherry picking on top of this commit every time.

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