git.iko.soy/typeable/nixpkgs
on master help sign in
Declare "ghcjs-base" as a compiler-provided core package.

This change fixes several GHCJS-related packages in our Hackage database. Cc: @Profpatsch

commit4306a5375663e9a92f27b7bfe8fae13af9bcb8c0 authorPeter Simons <simons@cryp.to> dateWed 16 Nov 2016, 13:42 (10 years ago) parent2966230
2 files changed+10
pkgs/development/haskell-modules/configuration-common.nix+5 pkgs/development/haskell-modules/configuration-hackage2nix.yaml+5
pkgs/development/haskell-modules/configuration-common.nix+5
@@ -4,6 +4,11 @@ with import ./lib.nix { inherit pkgs; };
44
55self: super: {
66
7+ # Some Hackage packages reference this attribute, which exists only in the
8+ # GHCJS package set. We provide a dummy version here to fix potential
9+ # evaluation errors.
10+ ghcjs-base = null;
11+
712 # Some packages need a non-core version of Cabal.
813 cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_1_24_1_0; });
914
pkgs/development/haskell-modules/configuration-hackage2nix.yaml+5
@@ -31,6 +31,11 @@ core-packages:
3131 - unix-2.7.2.0
3232 - xhtml-3000.2.1
3333
34+ # Hack: The following package is a core package of GHCJS. If we don't declare
35+ # it, then hackage2nix will generate a Hackage database where all dependants
36+ # if this library are maked as "broken".
37+ - ghcjs-base-0
38+
3439default-package-overrides:
3540 # LTS Haskell 7.9
3641 - abstract-deque ==0.3