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

wip/yesman
Peter Simons 7 years ago
parent 9c64582141
commit 175c3526ae
  1. 6
      pkgs/development/haskell-modules/configuration-common.nix

@ -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.

Loading…
Cancel
Save