summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorgalagora <lightningstrikeiv@gmail.com>2020-09-11 10:05:06 +0300
committergalagora <lightningstrikeiv@gmail.com>2020-09-11 22:17:37 +0300
commit9ee19bc889dfaaecdf71392453c22ad2f3595cf7 (patch)
tree9567d689b6df50b3f5a87aa46561982025ff349e /pkgs/development/haskell-modules
parent875e9b94d0358a88bd6f4cd2a35161ee1ebce896 (diff)
downloadnixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar.gz
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar.bz2
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar.lz
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar.xz
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.tar.zst
nixpkgs-9ee19bc889dfaaecdf71392453c22ad2f3595cf7.zip
haskellPackages.stylish-haskell: fix cabal bounds
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 29ee9d48158..79c1e003ec1 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1470,6 +1470,13 @@ self: super: {
   pandoc-types = doDistribute self.pandoc-types_1_21;
   rfc5051 = doDistribute self.rfc5051_0_2;
 
+  # Upstream forgot to change the Cabal version bounds in the test suite.
+  # See: https://github.com/jaspervdj/stylish-haskell/pull/297
+  # Will be fixed whenever they next bump the version number
+  stylish-haskell = appendPatch super.stylish-haskell (pkgs.fetchpatch {
+    url = "https://github.com/jaspervdj/stylish-haskell/commit/9550aa1cd177aa6fe271d075177109d66a79e67f.patch";
+    sha256 = "159jr80k40hdq5gpqfjknqx6vj2licx1l0f57l5r3k4264lnxjdb";
+  });
   # INSERT NEW OVERRIDES ABOVE THIS LINE
 
 } // (let