-
Notifications
You must be signed in to change notification settings - Fork 37
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
Restrictive upper bounds on pretty-show and temporary #59
Comments
This is pretty common situation in the Haskell package ecosystem. You can try |
Yep, but a revision or something on Hackage would be nice. |
The latest I'd be happy to bump |
@DanielG Ah, my bad. I'm building in nixpkgs, and |
Sure. Did you test with temporary 1.3 too? |
I tested that it builds, but haven't actually run the test suite. |
In case anyone else finds this issue via trying to build a package that depends on this one with Nix, here's how to do it: { pkgsOld ? import <nixpkgs> { }
, compiler ? "ghc844"
}:
let
config = {
packageOverrides = pkgs: rec {
haskellPackages =
# builtins.trace (builtins.concatStringsSep "\n" (builtins.attrNames pkgs.haskell.packages))
pkgs.haskell.packages."${compiler}".override {
overrides = haskellPackagesNew: haskellPackagesOld: {
cabal-helper = pkgs.haskell.lib.doJailbreak haskellPackagesOld.cabal-helper;
};
};
};
};
pkgs = import <nixpkgs> { inherit config; };
in with pkgs; haskellPackages.callPackage ./default.nix { } |
These bounds are a little too strict:
pretty-show >=1.8.1 && <1.9, temporary >=1.2.1 && <1.3
. Pretty sure they can be bumped.The text was updated successfully, but these errors were encountered: