pkgs/development/compilers/ghc: changed all GHC versions to use re-use the meta.platforms attribute of their bootstrap compiler

svn path=/nixpkgs/trunk/; revision=28409
This commit is contained in:
Peter Simons 2011-08-09 07:42:05 +00:00
parent 0be3dae42f
commit d3df8772c1
18 changed files with 18 additions and 9 deletions

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
passthru = { passthru = {

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
passthru = { passthru = {

View File

@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
} }

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.linux; platforms = ghc.meta.platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.linux; platforms = ghc.meta.platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.linux; platforms = ghc.meta.platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View File

@ -23,5 +23,6 @@ stdenv.mkDerivation {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
} }

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation (rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
postInstall = '' postInstall = ''

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation (rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
configureFlags=[ configureFlags=[

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms;
}; };
configureFlags=[ configureFlags=[

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.linux; platforms = ghc.meta.platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.haskellPlatforms; platforms = ghc.meta.platforms;
}; };
} }

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.haskellPlatforms; platforms = ghc.meta.platforms;
}; };
} }

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.haskellPlatforms; platforms = ghc.meta.platforms;
}; };
} }

View File

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.haskellPlatforms; platforms = ghc.meta.platforms;
}; };
} }

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = stdenv.lib.platforms.linux; platforms = ghc.meta.platforms;
}; };
} }