Merge pull request #4613 from edwtjo/ihaskell-quickfix

ihaskell: apply classy prelude patch
This commit is contained in:
Peter Simons 2014-10-22 22:58:47 +02:00
commit c2861a1649

View File

@ -16,7 +16,7 @@ cabal.mkDerivation (self: {
sha256 = "012rmasdc167w6gl18ysr53737j4p4afk0qcsv81hif92vvg5j1c"; sha256 = "012rmasdc167w6gl18ysr53737j4p4afk0qcsv81hif92vvg5j1c";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
patches = [ (fetchpatch { url = "https://github.com/gibiansky/IHaskell/pull/288.patch"; sha256 = "022zdz4wnyra6cfa7mq0w2ycsb007cvppn2f1360nr3fa5s9wibg"; }) ]; patches = [ (fetchpatch { url = "https://github.com/gibiansky/IHaskell/pull/296.patch"; sha256 = "1h9gxq9l3j949prcwqkdkrc3q3sxai4b345hfp5hfi0mhfbysfn6"; }) ];
prePatch = '' prePatch = ''
tar xvf profile/profile.tar -C profile tar xvf profile/profile.tar -C profile
sed -i -e '1iexe = "'$out'/bin/IHaskell".replace(" ", "\\ ")\' profile/ipython_config.py sed -i -e '1iexe = "'$out'/bin/IHaskell".replace(" ", "\\ ")\' profile/ipython_config.py
@ -47,6 +47,5 @@ cabal.mkDerivation (self: {
platforms = self.ghc.meta.platforms; platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none; hydraPlatforms = self.stdenv.lib.platforms.none;
maintainers = with maintainers; [ edwtjo ]; maintainers = with maintainers; [ edwtjo ];
broken = true;
}; };
}) })