mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
parent
d3df8772c1
commit
a13e1f6963
@ -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];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user