ghc-7.10.1: fix user pkg db location for GHCJS

This cherry picks the commit referenced on the associated trac ticket:
https://ghc.haskell.org/trac/ghc/ticket/10232
This commit is contained in:
Charles Strahan 2015-05-05 20:43:47 -04:00
parent 007dfb8438
commit 9a658d340f

View file

@ -35,6 +35,15 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
patches = [
# Fix user pkg db location for GHCJS:
# https://ghc.haskell.org/trac/ghc/ticket/10232
(fetchpatch {
url = "https://git.haskell.org/ghc.git/patch/c46e4b184e0abc158ad8f1eff6b3f0421acaf984";
sha256 = "0fkdyqd4bqp742rydwmqq8d2n7gf61bgdhaiw8xf7jy0ix7lr60w";
})
];
postPatch = ''
pushd libraries/Cabal
patch -p1 < ${cabalPatch}