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

Altcoins: remove obsolete override, update some altcoins #29248

Merged
merged 3 commits into from Sep 12, 2017

Conversation

Lassulus
Copy link
Member

Motivation for this change

remove the obsolete override in all-packages.nix.
fix broken altcoins.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@Lassulus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @AndersonTorres, @mcmtroffaes and @abbradar to be potential reviewers.

@Lassulus Lassulus changed the title Altcoins Altcoins: remove obsolete override, update some altcoins Sep 11, 2017
@infinisil
Copy link
Member

infinisil commented Sep 11, 2017

Regarding namecoin: I was just about to open a PR for the update: infinisil@8bd3664

Edit: force pushed with some of your changes incorporated

I'm gonna comment on the differences

cp namecoin-qt $out/bin
'';
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
++ optionals withGui [ "--with-gui=qt4" ];
Copy link
Member

Choose a reason for hiding this comment

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

--with-gui=qt4 is not needed, it gets detected automatically

nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db4 boost libtool libuuid
protobuf libevent ]
++ optionals withGui [ qt4 ];
Copy link
Member

Choose a reason for hiding this comment

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

db4 and protobuf are only needed for the GUI

There are also some other different dependencies between our versions.

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, db4 is needed in any case, but there is the optional libqrencode dependency

meta = namecoind.meta;
meta = {
description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
homepage = http://namecoin.info;
Copy link
Member

Choose a reason for hiding this comment

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

@Lassulus
Copy link
Member Author

@infinisil thanks for the comments, I'm gonna test them and update the PR accordingly.
Sorry for making your work obsolete, but I had a PR ready since yesterday

This updates namecoin from a legacy version from about 3 years ago
(https://github.com/namecoin/namecoin-legacy) to
the new namecoin-core.

(cherry picked from commit 8bd3664)
@Lassulus
Copy link
Member Author

@infinisil I cherry-picked your commit. If you make any new updates just give me a message :)

@infinisil
Copy link
Member

Thanks :)

@Mic92 Mic92 merged commit ca449e9 into NixOS:master Sep 12, 2017
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.

None yet

4 participants