From 86e2dd2c24f4ee75f6c3cf439c066b5c7f787184 Mon Sep 17 00:00:00 2001 From: Justin Humm Date: Fri, 10 Apr 2020 18:10:55 +0200 Subject: [PATCH] haskellPackages.{binary-strict,webify}: fix build webify needs a bump in the cabal file. As the last upstream commit is two years ago, I think it makes sense to not wait for upstream to merge the PR [0] and release a new version. [0] https://github.com/ananthakumaran/webify/pull/27 --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ .../haskell-modules/configuration-hackage2nix.yaml | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4cf9770c7a2..e080118d23a 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1505,4 +1505,13 @@ self: super: { # Test suite requires running a database server. Testing is done upstream. hasql-pool = dontCheck super.hasql-pool; + # This bumps optparse-applicative to <0.16 in the cabal file, as otherwise + # the version bounds are not satisfied. This can be removed if the PR at + # https://github.com/ananthakumaran/webify/pull/27 is merged and a new + # release of webify is published. + webify = appendPatch super.webify (pkgs.fetchpatch { + url = "https://github.com/ananthakumaran/webify/pull/27/commits/6d653e7bdc1ffda75ead46851b5db45e87cb2aa0.patch"; + sha256 = "sha256:0xbfhzhzg94b4r5qy5dg1c40liswwpqarrc2chcwgfbfnrmwkfc2"; + }); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 5ec8896c383..474ae3b8893 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -3110,7 +3110,6 @@ broken-packages: - binary-protocol-zmq - binary-search - binary-streams - - binary-strict - binary-typed - bind-marshal - BinderAnn @@ -10466,7 +10465,6 @@ broken-packages: - webdriver-w3c - WeberLogic - webfinger-client - - webify - webkit-javascriptcore - Webrexp - webserver