From 4a5c24ff6e09ad994ba681925c16aad03b53201d Mon Sep 17 00:00:00 2001 From: Samuel Evans-Powell Date: Fri, 11 Oct 2019 16:36:48 +1000 Subject: [PATCH] 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 --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 73022b577d7..369296abd8f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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