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"; + }; + }); + }