diff options
author | John Wiegley <johnw@newartisans.com> | 2014-06-26 22:53:37 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-06-26 22:55:25 -0700 |
commit | f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee (patch) | |
tree | abef397820df6fa5c7d77e31c19e78daa66622f9 /pkgs | |
parent | dd56bfbd0082c7a0291cc3cc860363aded31935e (diff) | |
download | nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar.gz nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar.bz2 nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar.lz nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar.xz nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.tar.zst nixpkgs-f9ebbc80a14d423481cfaca380ae8dc6dd4f14ee.zip |
haskell-ghc-mod: patch ghc-process.el to avoid hanging
@peti I've determined that the hang which this fixes does not happen all of the time (in fact, I've been using ghc-mod for weeks without seeing it once). But today it happened again, and it made me realize I had undone this patch locally. I'm committing it now because it fixes the problem completely for me, and certainly cannot hurt.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/haskell/ghc-mod/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix index f05bfedafcf..ee2cbdbd203 100644 --- a/pkgs/development/libraries/haskell/ghc-mod/default.nix +++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix @@ -21,6 +21,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 .. |