prometheus: fix build

- 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:
  https://github.com/bitnomial/prometheus/issues/34
This commit is contained in:
Samuel Evans-Powell 2019-10-11 16:36:48 +10:00 committed by Peter Simons
parent e5ae4a8dc6
commit 4a5c24ff6e
1 changed files with 4 additions and 0 deletions

View File

@ -1250,4 +1250,8 @@ self: super: {
postFetch = "sed -i -e s,gtk.cabal-renamed,gtk.cabal, $out"; 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 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super