diff options
author | Peter Simons <simons@cryp.to> | 2017-07-26 10:09:05 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-07-26 10:20:31 +0200 |
commit | 175c3526aeae925ecae93002410a1fb9f255f6c0 (patch) | |
tree | 66945f54be0af2154a2841b263b28aff8db6498e /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 9c6458214132e651bd6dc39096705b1c3bb0ab64 (diff) | |
download | nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar.gz nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar.bz2 nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar.lz nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar.xz nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.tar.zst nixlib-175c3526aeae925ecae93002410a1fb9f255f6c0.zip |
haskell: provide the name 'bin-package-db' (null) to fix evaluation errors
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index aeb09d4ad603..3a3928f56180 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/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. |