git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7719 from cstrahan/ghc-7101-ghcjs-user-pkg-db

ghc-7.10.1: fix user pkg db location for GHCJS

commit1eee813f9b917e4f7993846e69d68e537e8197e1 authorPeter Simons <simons@cryp.to> dateWed 6 May 2015, 12:08 (12 years ago) parentb5eca249a658d3
1 file changed+9
pkgs/development/compilers/ghc/7.10.1.nix+9
pkgs/development/compilers/ghc/7.10.1.nix+9
@@ -35,6 +35,15 @@ stdenv.mkDerivation rec {
3535
3636 enableParallelBuilding = true;
3737
38+ patches = [
39+ # Fix user pkg db location for GHCJS:
40+ # https://ghc.haskell.org/trac/ghc/ticket/10232
41+ (fetchpatch {
42+ url = "https://git.haskell.org/ghc.git/patch/c46e4b184e0abc158ad8f1eff6b3f0421acaf984";
43+ sha256 = "0fkdyqd4bqp742rydwmqq8d2n7gf61bgdhaiw8xf7jy0ix7lr60w";
44+ })
45+ ];
46+
3847 postPatch = ''
3948 pushd libraries/Cabal
4049 patch -p1 < ${cabalPatch}