Skip to content

grin: Fix build dependencies #26423

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

Merged
merged 2 commits into from
Jun 10, 2017
Merged

grin: Fix build dependencies #26423

merged 2 commits into from
Jun 10, 2017

Conversation

sjagoe
Copy link
Member

@sjagoe sjagoe commented Jun 6, 2017

Motivation for this change

Maintenance of grin package to fix build errors due to dependency changes.

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 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.

Sorry, something went wrong.

Using old source, grin was unable to build due to missing argparse pypi
package.
src = fetchurl {
url = "mirror://pypi/g/grin/${name}.tar.gz";
sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
src = fetchgit {
Copy link
Member

Choose a reason for hiding this comment

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

In general I'd recommend fetchFromGitHub when using fetchgit against github.com, since it's quite a bit more efficient.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I had forgotten about fetchFromGitHub. I'll update shortly.

@Mic92 Mic92 merged commit f723f7c into NixOS:master Jun 10, 2017
@sjagoe sjagoe deleted the fix-grin-dependencies branch June 10, 2017 12:59
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

3 participants