From f47d100de78439bb149343edac71e49706289b5c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 12 May 2013 15:44:43 +0200 Subject: [PATCH] Switch GHC 7.6.x to Haskell Platform 2013.2.0.0. --- pkgs/top-level/haskell-defaults.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix index 58b48b06ffeb..10b0347127e2 100644 --- a/pkgs/top-level/haskell-defaults.nix +++ b/pkgs/top-level/haskell-defaults.nix @@ -22,6 +22,13 @@ extensibleExceptions = self.extensibleExceptions_0_1_1_4; }; + ghc763Prefs = + self : self.haskellPlatformArgs_2013_2_0_0 self // { + haskellPlatform = self.haskellPlatform_2013_2_0_0; + binary = null; # now a core package + extensibleExceptions = self.extensibleExceptions_0_1_1_4; + }; + ghc742Prefs = self : self.haskellPlatformArgs_2012_4_0_0 self // { haskellPlatform = self.haskellPlatform_2012_4_0_0; @@ -279,19 +286,19 @@ packages_ghc761 = packages { ghcPath = ../development/compilers/ghc/7.6.1.nix; ghcBinary = ghc704Binary; - prefFun = ghcHEADPrefs; + prefFun = ghc763Prefs; }; packages_ghc762 = packages { ghcPath = ../development/compilers/ghc/7.6.2.nix; ghcBinary = ghc704Binary; - prefFun = ghcHEADPrefs; + prefFun = ghc763Prefs; }; packages_ghc763 = packages { ghcPath = ../development/compilers/ghc/7.6.3.nix; ghcBinary = ghc704Binary; - prefFun = ghcHEADPrefs; + prefFun = ghc763Prefs; }; # Reasonably current HEAD snapshot. Should *always* be lowPrio.