about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorTest <test@test.com>2018-01-02 17:42:21 -0600
committerTest <test@test.com>2018-01-02 17:43:40 -0600
commit6ea37497cd2f95c774579122cf8f97621b9cf691 (patch)
tree454136cfb3dabdcd76b56f5c5f63eecba4bd604c /pkgs/development/haskell-modules
parenta0aeb2381e5a6c5c57efdec1bf4b4ada44d29511 (diff)
downloadnixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar.gz
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar.bz2
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar.lz
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar.xz
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.tar.zst
nixlib-6ea37497cd2f95c774579122cf8f97621b9cf691.zip
loosen version bounds for lzma test dependencies
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
-rw-r--r--pkgs/development/haskell-modules/patches/lzma-tests.patch13
2 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 0ff5d4f8e03a..28043a1372ae 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -566,6 +566,9 @@ self: super: {
   # https://github.com/alphaHeavy/lzma-enumerator/issues/3
   lzma-enumerator = dontCheck super.lzma-enumerator;
 
+  # Unpin some versions
+  lzma = appendPatch super.lzma ./patches/lzma-tests.patch;
+
   # https://github.com/BNFC/bnfc/issues/140
   BNFC = dontCheck super.BNFC;
 
diff --git a/pkgs/development/haskell-modules/patches/lzma-tests.patch b/pkgs/development/haskell-modules/patches/lzma-tests.patch
new file mode 100644
index 000000000000..e4e327ab6bbc
--- /dev/null
+++ b/pkgs/development/haskell-modules/patches/lzma-tests.patch
@@ -0,0 +1,13 @@
+--- a/lzma.cabal
++++ b/lzma.cabal
+@@ -70,8 +70,8 @@ test-suite lzma-tests
+                      , base
+                      , bytestring
+   -- additional dependencies that require version bounds
+-  build-depends:       HUnit                      >= 1.2      && <1.4
+-                     , QuickCheck                 >= 2.8      && <2.9
++  build-depends:       HUnit                      >= 1.2      && <2
++                     , QuickCheck                 >= 2.8      && <3
+                      , tasty                      >= 0.10     && <0.12
+                      , tasty-hunit                == 0.9.*
+                      , tasty-quickcheck           >= 0.8.3.2  && < 0.9