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:
parent
0be3dae42f
commit
d3df8772c1
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 = {
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 = {
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -23,5 +23,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The Glasgow Haskell Compiler";
|
description = "The Glasgow Haskell Compiler";
|
||||||
|
platforms = ghc.meta.platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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 = ''
|
||||||
|
@ -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=[
|
||||||
|
@ -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=[
|
||||||
|
@ -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.
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user