haskell: provide the name 'bin-package-db' (null) to fix evaluation errors

This commit is contained in:
Peter Simons 2017-07-26 10:09:05 +02:00
parent 9c64582141
commit 175c3526ae

View file

@ -15,6 +15,12 @@ with import ./lib.nix { inherit pkgs; };
self: super: {
# This used to be a core package provided by GHC, but then the compiler
# dropped it. We define the name here to make sure that old packages which
# depend on this library still evaluate (even though they won't compile
# successfully with recent versions of the compiler).
bin-package-db = null;
# Some Hackage packages reference this attribute, which exists only in the
# GHCJS package set. We provide a dummy version here to fix potential
# evaluation errors.