nixpkgs/pkgs/development/libraries/haskell/hsdns/default.nix
Peter Simons a13e1f6963 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
2011-08-09 07:44:28 +00:00

16 lines
576 B
Nix

{cabal, adns, network}:
cabal.mkDerivation (self : {
pname = "hsdns";
version = "1.5";
sha256 = "2788d1ad5ef07ae5f356a460fb92316118f3a4d9c779ec27fb8243602bcf6399";
propagatedBuildInputs = [adns network];
noHaddock = true; /* the build fails for reasons I don't understand. */
meta = {
homepage = "http://gitorious.org/hsdns";
description = "Asynchronous DNS Resolver";
license = self.stdenv.lib.licenses.lgpl3;
platforms = self.ghc.meta.platforms;
maintainers = [self.stdenv.lib.maintainers.andres self.stdenv.lib.maintainers.simons];
};
})