diff options
Diffstat (limited to 'pkgs/development/compilers/ghc/7.0.1.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/7.0.1.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/compilers/ghc/7.0.1.nix b/pkgs/development/compilers/ghc/7.0.1.nix index d8acc3065105d..db696d2b218ca 100644 --- a/pkgs/development/compilers/ghc/7.0.1.nix +++ b/pkgs/development/compilers/ghc/7.0.1.nix @@ -2,11 +2,8 @@ stdenv.mkDerivation rec { version = "7.0.1"; - + name = "ghc-${version}"; - - # TODO: Does this have to be here, or can it go to meta? - homepage = "http://haskell.org/ghc"; src = fetchurl { url = "http://new-www.haskell.org/ghc/dist/${version}/${name}-src.tar.bz2"; @@ -33,13 +30,13 @@ stdenv.mkDerivation rec { stripDebugFlags=["-S" "--keep-file-symbols"]; meta = { - inherit homepage; + homepage = "http://haskell.org/ghc"; description = "The Glasgow Haskell Compiler"; maintainers = [ stdenv.lib.maintainers.marcweber 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. |