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

NixOS build — a lot to clean up #324

Closed
michalrus opened this issue Oct 3, 2017 · 3 comments
Closed

NixOS build — a lot to clean up #324

michalrus opened this issue Oct 3, 2017 · 3 comments

Comments

@michalrus
Copy link

Hey,

to build BitcoinArmory properly on NixOS, we had to some non-trivial changes to src/.

Cf. https://github.com/NixOS/nixpkgs/pull/29977/files#diff-ce2b0ed7ddf127a39fb4dd55b6628ef7R39

Would it be possible to move them upstream? I.e. tweak your build process so that, even if you want to include Crypto++, fcgi, lmdb in the repo (which is not the best idea), the build tools would treat them as -isystem instead of -I (similar for -l), and all the #include <cryptopp/integer.h> would then be correct?

Thanks,

@goatpig
Copy link
Owner

goatpig commented Oct 3, 2017

I have modified all of these libs, which is why they are linked statically.

@michalrus
Copy link
Author

s/linked statically/copy-pasted into the repo/ =)

But why? What’s the reasoning? Are these modifications useful to the community around those libs? If so, why not push them upstream?

On the other hand, if they’re not useful in those libs, why did you make them in those libs instead of Armory’s code?

@michalrus
Copy link
Author

If anything, it makes the app much harder to audit. 😉

@goatpig goatpig closed this as completed Jan 13, 2024
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

No branches or pull requests

2 participants