Author: simons
Date: Tue Aug  9 07:44:28 2011
New Revision: 28410
URL: https://svn.nixos.org/websvn/nix/?rev=28410&sc=1

Log:
pkgs/development/libraries/haskell/hsdns: re-use meta.platforms attribute of 
the compiler that's building this expression

This change is hopefully going to remedy evaluation errors like

   at `haskellPackages_ghc721.hsdns' [system = "i686-darwin"]:
   user-thrown exception: cannot bootstrap GHC on this platform

on Hydra. These errors occur because we build all packages with (almost)
all compilers an all "Haskell platforms". Some compilers, however,
cannot be bootstrapped on Darwin, so we ended up requesting builds that
cannot be performed.

Modified:
   nixpkgs/trunk/pkgs/development/libraries/haskell/hsdns/default.nix

Modified: nixpkgs/trunk/pkgs/development/libraries/haskell/hsdns/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/haskell/hsdns/default.nix  Tue Aug 
 9 07:42:05 2011        (r28409)
+++ nixpkgs/trunk/pkgs/development/libraries/haskell/hsdns/default.nix  Tue Aug 
 9 07:44:28 2011        (r28410)
@@ -10,7 +10,7 @@
     homepage = "http://gitorious.org/hsdns";;
     description = "Asynchronous DNS Resolver";
     license = self.stdenv.lib.licenses.lgpl3;
-    platforms = self.stdenv.lib.platforms.haskellPlatforms;
+    platforms = self.ghc.meta.platforms;
     maintainers = [self.stdenv.lib.maintainers.andres 
self.stdenv.lib.maintainers.simons];
   };
 })
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to