mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
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.
This commit is contained in:
parent
dd56bfbd00
commit
f9ebbc80a1
@ -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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user