From b3958566d746aea66bdc8c9549dff97cbaeb7d40 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 2 Mar 2018 16:45:57 +0100 Subject: [PATCH] structured-haskell-mode: fix the build --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7e0af1d3bb8b..139e71dc7cfd 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -594,7 +594,8 @@ self: super: { ''; }); - # Fine-tune the build. + # Build the latest git version instead of the official release. This isn't + # ideal, but Chris doesn't seem to make official releases any more. structured-haskell-mode = (overrideCabal super.structured-haskell-mode (drv: { src = pkgs.fetchFromGitHub { owner = "chrisdone"; @@ -615,9 +616,7 @@ self: super: { mkdir -p $data/share/emacs ln -s $lispdir $data/share/emacs/site-lisp ''; - })).override { - haskell-src-exts = self.haskell-src-exts_1_20_1; - }; + })); # Make elisp files available at a location where people expect it. hindent = (overrideCabal super.hindent (drv: {