summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
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-common.nix
parent29662304df817e5f0bfaff35a3814a24ccba5263 (diff)
downloadnixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar
nixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.gz
nixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.bz2
nixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.lz
nixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.xz
nixpkgs-4306a5375663e9a92f27b7bfe8fae13af9bcb8c0.tar.zst
nixpkgs-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-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 095555bfec4..661af0dd261 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -4,6 +4,11 @@ with import ./lib.nix { inherit pkgs; };
 
 self: super: {
 
+  # 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.
+  ghcjs-base = null;
+
   # Some packages need a non-core version of Cabal.
   cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_1_24_1_0; });