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

haskellPackages.lzma: loosen version bounds for test dependencies #33360

Merged
merged 2 commits into from Jan 12, 2018

Conversation

adnelson
Copy link
Contributor

@adnelson adnelson commented Jan 2, 2018

Motivation for this change

The Haskell lzma library refuses to build, complaining that HUnit and QuickCheck are outside of the given version bounds.

Things done

One option would be to disable the unit tests, but the tests pass just fine with the versions in nixpkgs, so I just patched the cabal file to loosen the bounds.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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.

@@ -566,6 +566,9 @@ self: super: {
# https://github.com/alphaHeavy/lzma-enumerator/issues/3
lzma-enumerator = dontCheck super.lzma-enumerator;

# Unpin some versions
lzma = appendPatch super.lzma ./patches/lzma-tests.patch;
Copy link
Member

Choose a reason for hiding this comment

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

Could you please report this issue to @hvr at https://github.com/hvr/lzma/issues and add the link to that issue into the comment here? That makes it easier for other people to decide in the future whether the issue still exists.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Please add that URL into the source code; it should replace the "Unpin some versions" comment.

@adnelson
Copy link
Contributor Author

adnelson commented Jan 7, 2018

@peti fixed, sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants