summary refs log tree commit diff
path: root/pkgs/top-level/haskell-packages.nix
diff options
context:
space:
mode:
authorDavid Johnson <djohnson.m@gmail.com>2017-02-04 11:19:14 -0600
committerDavid Johnson <djohnson.m@gmail.com>2017-03-10 19:31:12 -0600
commit26623240e93f8454ac69f66a3a025d98a7e94b71 (patch)
treee929462cc37cde5d489f87bcf3bbe40be5b5f601 /pkgs/top-level/haskell-packages.nix
parent2839b101f927be5daab7948421de00a6f6c084ae (diff)
downloadnixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar.gz
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar.bz2
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar.lz
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar.xz
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.tar.zst
nixpkgs-26623240e93f8454ac69f66a3a025d98a7e94b71.zip
Init HaLVM at 2.4.0
Diffstat (limited to 'pkgs/top-level/haskell-packages.nix')
-rw-r--r--pkgs/top-level/haskell-packages.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index b4226e656fd..bad483f0237 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -79,6 +79,10 @@ in rec {
     ghcjsHEAD = packages.ghc802.callPackage ../development/compilers/ghcjs/head.nix {
       bootPkgs = packages.ghc802;
     };
+    ghcHaLVM240 = callPackage ../development/compilers/halvm/2.4.0.nix rec {
+      bootPkgs = packages.ghc802;
+      inherit (bootPkgs) hscolour alex happy;
+    };
 
     jhc = callPackage ../development/compilers/jhc {
       inherit (packages.ghc763) ghcWithPackages;
@@ -100,6 +104,7 @@ in rec {
       in pkgs.recurseIntoAttrs (integerSimpleGhcs // {
            ghcHEAD = integerSimpleGhcs.ghcHEAD.override { selfPkgs = packages.integer-simple.ghcHEAD; };
          });
+
   };
 
   packages = {
@@ -167,6 +172,10 @@ in rec {
       ghc = compiler.ghcjsHEAD;
       compilerConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
     };
+    ghcHaLVM240 = callPackage ../development/haskell-modules {
+      ghc = compiler.ghcHaLVM240;
+      compilerConfig = callPackage ../development/haskell-modules/configuration-halvm-2.4.0.nix { };
+    };
 
     # The integer-simple attribute set contains package sets for all the GHC compilers
     # using integer-simple instead of integer-gmp.