From 2bae6b673782edb18bc322213d7fc0a43c14c9b1 Mon Sep 17 00:00:00 2001 From: Ryan Trinkle Date: Tue, 10 May 2016 20:01:09 -0400 Subject: [PATCH] ghc8 | config: ghcjs-prim: init at 0.1.0.0 --- .../haskell-modules/configuration-ghc-8.0.x.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index c7f67fde2210..b7195ac60c7c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -149,4 +149,16 @@ self: super: { trifecta = doJailbreak super.trifecta; turtle = doJailbreak super.turtle; + + ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation { + pname = "ghcjs-prim"; + version = "0.1.0.0"; + src = fetchgit { + url = git://github.com/ghcjs/ghcjs-prim.git; + rev = "dfeaab2aafdfefe46bf12960d069f28d2e5f1454"; # ghc-7.10 branch + sha256 = "19kyb26nv1hdpp0kc2gaxkq5drw5ib4za0641py5i4bbf1g58yvy"; + }; + buildDepends = [ primitive ]; + license = pkgs.stdenv.lib.licenses.bsd3; + }) {}; }