diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-07-08 14:04:11 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-07-08 14:04:11 +0200 |
commit | d5d44479c1fbfff13024d27e9509dadf354ebe02 (patch) | |
tree | 6fc3752c6557773fdd1e418d5a6ff624139bf8b5 /pkgs/development/haskell-modules | |
parent | 1088e55baf0631c604d2f873f295b2435c8f7de1 (diff) | |
download | nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar.gz nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar.bz2 nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar.lz nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar.xz nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.tar.zst nixpkgs-d5d44479c1fbfff13024d27e9509dadf354ebe02.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 |