From 944b28f7c50beb6cde40d1e8c9fab41b31829303 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge <_deepfire@feelingofgreen.ru> Date: Mon, 2 May 2016 18:48:10 +0300 Subject: [PATCH] ghc8 | config: linear -> git, unreleased fixes --- .../haskell-modules/configuration-ghc-8.0.x.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index 140ab03479f..282a0b49e52 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -86,4 +86,15 @@ self: super: { force-layout = doJailbreak super.force-layout; + # Partial fixes released in 1.20.5 upstream, full fixes only in git + linear = pkgs.haskell.lib.overrideCabal super.linear (oldAttrs: { + editedCabalFile = null; + revision = null; + src = pkgs.fetchgit { + url = https://github.com/ekmett/linear.git; + rev = "8da21dc72714441cb34d6eabd6c224819787365c"; + sha256 = "08l0z6zrlbals2bwc2abbh31j9gf90vgp8sy3dcrp0knc98bgaa1"; + }; + }); + }