From a13e1f69638764183607ac386cb8b84a24b0c593 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 9 Aug 2011 07:44:28 +0000 Subject: [PATCH] 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 --- pkgs/development/libraries/haskell/hsdns/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/haskell/hsdns/default.nix b/pkgs/development/libraries/haskell/hsdns/default.nix index 6567a9c18eb..67edb5bbba3 100644 --- a/pkgs/development/libraries/haskell/hsdns/default.nix +++ b/pkgs/development/libraries/haskell/hsdns/default.nix @@ -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]; }; })