From 81f12377e448c9d5a5c0f5351e6e9fadce9c9295 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge <_deepfire@feelingofgreen.ru> Date: Mon, 2 May 2016 18:57:37 +0300 Subject: [PATCH] ghc8 | config: th-desugar -> git --- .../haskell-modules/configuration-ghc-8.0.x.nix | 9 +++++++++ 1 file changed, 9 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 71fef2ecf23..4f25f42cf3f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -131,4 +131,13 @@ self: super: { }; })); + # The essential part only in upstream git, last released upstream version 1.6.0, Jan 27 + th-desugar = doJailbreak (pkgs.haskell.lib.overrideCabal super.th-desugar (oldAttrs: { + src = pkgs.fetchgit { + url = https://github.com/goldfirere/th-desugar.git; + rev = "7496de0243a12c14be1b37b89eb41cf9ef6f5229"; + sha256 = "10awknqviq7jb738r6n9rlyra0pvkrpnk0hikz4459hny4hamn75"; + }; + })); + }