From d5d44479c1fbfff13024d27e9509dadf354ebe02 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 8 Jul 2021 14:04:11 +0200 Subject: haskellPackages.graphql: unbreak Upstream introduced too strict lower bounds in a new release. Since it's too much hassle to create a new account in their redmine just for this issue, I've used asserts to indicate when this will be able to be removed. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development/haskell-modules') diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4e22f86a009..3cc2c5ceba6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1940,4 +1940,10 @@ EOT # upstream https://github.com/circuithub/rel8/issues/86 rel8 = dontCheck super.rel8; + # Release 1.0.0.0 added version bounds (was unrestricted before), + # but with too strict lower bounds for our lts-18. + graphql = assert pkgs.lib.versionOlder self.parser-combinators.version "1.3.0"; + assert pkgs.lib.versionOlder self.hspec.version "2.8.2"; + doJailbreak super.graphql; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super -- cgit 1.4.1