From d7a2884e0d33a2a3c31a2b65a20cf4c488aae562 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 24 Jul 2014 15:06:45 -0500 Subject: [PATCH] haskell-ghc-mod: fix to prevent Emacs from hanging --- pkgs/development/libraries/haskell/ghc-mod/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix index b5ed78d7212f..3fd12bcfc559 100644 --- a/pkgs/development/libraries/haskell/ghc-mod/default.nix +++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix @@ -23,6 +23,7 @@ cabal.mkDerivation (self: { configureFlags = "--datasubdir=${self.pname}-${self.version}"; postInstall = '' cd $out/share/$pname-$version + sed -i -e 's/"-b" "\\n" "-l"/"-l" "-b" "\\"\\\\n\\""/' ghc-process.el make rm Makefile cd ..