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.

svn path=/nixpkgs/trunk/; revision=28410
This commit is contained in:
Peter Simons 2011-08-09 07:44:28 +00:00
parent d3df8772c1
commit a13e1f6963

View File

@ -10,7 +10,7 @@ cabal.mkDerivation (self : {
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];
};
})