pkgs/development/compilers/ghc/*-binary.nix: added a meta.platforms attribute to all ghc bootstrap versions
svn path=/nixpkgs/trunk/; revision=28408
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{stdenv, fetchurl, perl, readline, ncurses, gmp}:
|
||||
|
||||
assert stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
|
||||
let
|
||||
supportedPlatforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
|
||||
in
|
||||
|
||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = if stdenv.system == "i686-darwin" then "ghc-6.6.1-binary" else "ghc-6.4.2-binary";
|
||||
@@ -64,4 +68,5 @@ stdenv.mkDerivation {
|
||||
|
||||
'' else "";
|
||||
|
||||
meta.platforms = supportedPlatforms;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user