From 58a084dd4c512db7c37489d05a5b48b12c00e78f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 Jul 2014 14:08:55 +0200 Subject: [PATCH] haskell-snap-server: jailbreak to fix build with HsOpenSSL 0.11 --- pkgs/development/libraries/haskell/snap/server.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/haskell/snap/server.nix b/pkgs/development/libraries/haskell/snap/server.nix index 6fd1eaf73141..d2278f329f42 100644 --- a/pkgs/development/libraries/haskell/snap/server.nix +++ b/pkgs/development/libraries/haskell/snap/server.nix @@ -16,6 +16,9 @@ cabal.mkDerivation (self: { network snapCore text time unixCompat ]; configureFlags = "-fopenssl"; + patchPhase = '' + sed -i -e 's|HsOpenSSL >= .*|HsOpenSSL|' snap-server.cabal + ''; meta = { homepage = "http://snapframework.com/"; description = "A fast, iteratee-based, epoll-enabled web server for the Snap Framework";