summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-11-16 13:42:54 +0100
committerPeter Simons <simons@cryp.to>2016-11-18 09:51:14 +0100
commit4306a5375663e9a92f27b7bfe8fae13af9bcb8c0 (patch)
treec1ebc82b427dca27bedffacb167b43dd359c79bc /pkgs/development/haskell-modules/configuration-hackage2nix.yaml
parent29662304df817e5f0bfaff35a3814a24ccba5263 (diff)
downloadnixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.gz
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.bz2
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.lz
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.xz
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.zst
nixlib-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.zip
Declare "ghcjs-base" as a compiler-provided core package.
This change fixes several GHCJS-related packages in our Hackage database.

Cc: @Profpatsch
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-hackage2nix.yaml')
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 550ac1b918af..1958c7cc4f72 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -31,6 +31,11 @@ core-packages:
   - unix-2.7.2.0
   - xhtml-3000.2.1
 
+  # Hack: The following package is a core package of GHCJS. If we don't declare
+  # it, then hackage2nix will generate a Hackage database where all dependants
+  # if this library are maked as "broken".
+  - ghcjs-base-0
+
 default-package-overrides:
   # LTS Haskell 7.9
   - abstract-deque ==0.3