Update post-process hook for ghc-mod.
commit107126b25565e7690d9b8ce4c11130708351d7a1
authorPeter Simons <simons@cryp.to>
dateWed 6 Aug 2014, 12:16 (12 years ago)
parent26f7c57
src/Cabal2Nix/PostProcess.hs+1
@@ -145,6 +145,7 @@ ghcModPostInstall = unlines
145145 [ "configureFlags = \"--datasubdir=${self.pname}-${self.version}\";"
146146 , "postInstall = ''"
147147 , " cd $out/share/$pname-$version"
148+ , " sed -i -e 's/\"-b\" \"\\\\n\" \"-l\"/\"-l\" \"-b\" \"\\\\\"\\\\\\\\n\\\\\"\"/' ghc-process.el"
148149 , " make"
149150 , " rm Makefile"
150151 , " cd .."