-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
nixify #148
base: master
Are you sure you want to change the base?
nixify #148
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong and will work only on your system.
You are missing also rustup
sorry @vincenzopalazzo you are correct, I have rust on my I'm pushing a commit that adds I created a Is there anything else you feel needs improvement on this |
not from my hand, I need to test it on my NixOS build machine and I will be back to you. Usually, I put this nix stuff under a |
ack, done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you squash the commit in a single one and change the commit
header to [meta] add nix-shell script for a dev env
or something like that.
Maybe @cloudhead has a better idea for the commit header 😄
@vincenzopalazzo apologies for bringing this up again, but I wonder if having the @realeinherjar helped me start working on a new It's still WIP but leveraging Users could run Depending on feedback, I would probably close this PR in favor of a new one to keep things organised, while also making sure to have the commit history following the pointers from your last comment. |
Nix flake is completely another world, in GCC or another project that I am involved with nix they prefer to have a However, Nix Flake is unrelated to my previous suggestion, and I think it is also a little bit of overkill for Nakamoto. Other than the wallet (that it is not well integrated out of the box with ColdCard) nakamoto is run as a library not as a node due to that we do not have RPC API to do anything useful except syncing with the network. However, this is not up to me to decide. I think The Last World is from @cloudhead not from me so please do not feel discouraged |
Yes, but can I do a I don't think this PR scope should cover only
|
it is just a matter of preference, as I said in my message that you did not quote "they prefer to have a ..." I really did not care if I can do |
sorry @vincenzopalazzo maybe I wasn't clear on my original explanation the user would be able to do I believe your point about the project aiming to be nothing but a library and the node not exposing any RPCs is still a counterargument to this, but I thought I should clarify anyway |
Ah nice! I did not know of this usage of nix flakes!
I did not say that is the aim of the project, I pointed out the state of the art! |
Yes, sorry I though that was understood in my example |
well that's cool! has there ever been a discussion about exposing RPCs from cc @a-moreira |
I have a branch somewhere that expose a UNIX socket, but I am not actively working on it |
allows building on a
nix-shell
environment.the
nakamoto-wallet
crate needslibusb-1.0
.now this is possible: