Hi,

it appears that the package haskell-haskell-platform-ghc6.10.4-2010.1.0.0 fails
to compile on all architectures. It certainly does when I try to build it on
Linux or Darwin. The corresponding package for ghc 6.12.2 seems to build fine,
though.

Does any feel strongly about applying the patch that is attached below?

Take care,
Peter


X-From-Line: [email protected]  Tue Apr 27 14:53:53 2010
Return-Path: <[email protected]>
X-Spam-Checker-Version: Spam-Checker
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00=-2.599
Received: from g2.mental.com (entrance.mental.com [192.31.14.10])
        by zuse.cryp.to with ESMTP id o3RCrq8B023259 for <[email protected]>;
        Tue, 27 Apr 2010 14:53:52 +0200
Received: from mental.com ([email protected] [172.16.0.24])
        by g2.mental.com (8.13.7/8.13.7/mental-100419) with ESMTP id 
o3RCrkeB025337
        for <[email protected]>; Tue, 27 Apr 2010 14:53:46 +0200 (CEST)
Received: from mental.com (pe...@mail [172.16.0.5])
        by mental.com (8.13.7/8.13.7/mental-100315) with ESMTP id o3RCrk0o013750
        for <[email protected]>; Tue, 27 Apr 2010 14:53:46 +0200 (CEST)
Received: (from pe...@localhost)
        by mental.com (8.13.7/8.13.7/Submit-070305) id o3RCrk9w013749;
        Tue, 27 Apr 2010 14:53:46 +0200 (CEST)
From: Peter Simons <[email protected]>
To: [email protected]
Subject: Fix haskell platform in nix
Date: Tue, 27 Apr 2010 14:53:46 +0200
X-Gnus-Mail-Source: directory:~/Mail/
Message-ID: <[email protected]>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (usg-unix-v)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
 filename=0001-pkgs-top-level-all-packages.nix-switch-Haskell-packa.patch
Lines: 64
Xref: write-only.cryp.to mail.archive:13381

>From 0896e0315b44ad32f4199ac30783796a2071110a Mon Sep 17 00:00:00 2001
From: Peter Simons <[email protected]>
Date: Tue, 27 Apr 2010 14:52:55 +0200
Subject: [PATCH] pkgs/top-level/all-packages.nix: switch Haskell packages to 
ghc 6.12.2

---
 pkgs/top-level/all-packages.nix |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 48b3c72..c16d9d0 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2197,7 +2197,7 @@ let
   # For several compiler versions, we export a large set of Haskell-related
   # packages.

-  haskellPackages = haskellPackages_ghc6104;
+  haskellPackages = recurseIntoAttrs haskellPackages_ghc6122;

   /*
   haskellPackages_ghc642 = import ./haskell-packages.nix {
@@ -2241,31 +2241,31 @@ let
   });
   */

-  haskellPackages_ghc6101 = import ./haskell-packages.nix {
+  haskellPackages_ghc6101 = lowPrio (import ./haskell-packages.nix {
     inherit pkgs;
     ghc = import ../development/compilers/ghc/6.10.1.nix {
       inherit fetchurl stdenv perl ncurses gmp libedit;
       ghc = ghc6101Binary;
     };
-  };
+  });

-  haskellPackages_ghc6102 = import ./haskell-packages.nix {
+  haskellPackages_ghc6102 = lowPrio (import ./haskell-packages.nix {
     inherit pkgs;
     ghc = import ../development/compilers/ghc/6.10.2.nix {
       inherit fetchurl stdenv perl ncurses gmp libedit;
       ghc = ghc6101Binary;
     };
-  };
+  });

-  haskellPackages_ghc6103 = import ./haskell-packages.nix {
+  haskellPackages_ghc6103 = lowPrio (import ./haskell-packages.nix {
     inherit pkgs;
     ghc = import ../development/compilers/ghc/6.10.3.nix {
       inherit fetchurl stdenv perl ncurses gmp libedit;
       ghc = ghc6101Binary;
     };
-  };
+  });

-  haskellPackages_ghc6104 = recurseIntoAttrs (import ./haskell-packages.nix {
+  haskellPackages_ghc6104 = lowPrio (import ./haskell-packages.nix {
     inherit pkgs;
     ghc = import ../development/compilers/ghc/6.10.4.nix {
       inherit fetchurl stdenv perl ncurses gmp libedit;
--
1.7.0.5

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to