Skip to content

Commit

Permalink
prometheus: fix build
Browse files Browse the repository at this point in the history
- Prometheus was failing due to the http-client version (0.6.4) being
out-of-bounds (prometheus requires >=0.4 && <0.6).
- However it builds fine when jailbroken, so I've just jailbroken it.
- An issue has been submitted upstream on prometheus:
  bitnomial/prometheus#34
  • Loading branch information
sevanspowell committed Oct 12, 2019
1 parent 89acd5b commit 2cb0200
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1250,4 +1250,8 @@ self: super: {
postFetch = "sed -i -e s,gtk.cabal-renamed,gtk.cabal, $out";
});

# Version bounds for http-client are too strict:
# https://github.com/bitnomial/prometheus/issues/34
prometheus = doJailbreak super.prometheus;

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 comments on commit 2cb0200

Please sign in to comment.