diff options
author | Peter Simons <simons@cryp.to> | 2015-03-14 13:32:26 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-03-15 11:00:11 +0100 |
commit | 3f712f84489b262763538d367233400b39112d31 (patch) | |
tree | 65d4cf10387929511e5a8f71b8c7188d0e3f437b /pkgs/development/compilers | |
parent | 26223831dc0ba50eb1f190f5fa080dc2b138989e (diff) | |
download | nixlib-3f712f84489b262763538d367233400b39112d31.tar nixlib-3f712f84489b262763538d367233400b39112d31.tar.gz nixlib-3f712f84489b262763538d367233400b39112d31.tar.bz2 nixlib-3f712f84489b262763538d367233400b39112d31.tar.lz nixlib-3f712f84489b262763538d367233400b39112d31.tar.xz nixlib-3f712f84489b262763538d367233400b39112d31.tar.zst nixlib-3f712f84489b262763538d367233400b39112d31.zip |
ghc-6.10.4: cosmetic clean up
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/ghc/6.10.4.nix | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.4.nix b/pkgs/development/compilers/ghc/6.10.4.nix index 3c5a52c0c403..ee7ca20ddf7f 100644 --- a/pkgs/development/compilers/ghc/6.10.4.nix +++ b/pkgs/development/compilers/ghc/6.10.4.nix @@ -5,16 +5,14 @@ stdenv.mkDerivation rec { name = "ghc-${version}"; - homepage = "http://haskell.org/ghc"; - src = fetchurl { - url = "${homepage}/dist/${version}/${name}-src.tar.bz2"; + url = "${meta.homepage}/dist/${version}/${name}-src.tar.bz2"; sha256 = "d66a8e52572f4ff819fe5c4e34c6dd1e84a7763e25c3fadcc222453c0bd8534d"; }; buildInputs = [ghc libedit perl gmp]; - configureFlags=[ + configureFlags = [ "--with-gmp-libraries=${gmp}/lib" "--with-gmp-includes=${gmp}/include" "--with-gcc=${stdenv.cc}/bin/gcc" @@ -23,38 +21,8 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-fomit-frame-pointer"; meta = { - inherit homepage; + homepage = "http://haskell.org/ghc"; description = "The Glasgow Haskell Compiler"; inherit (ghc.meta) license platforms; }; - - passthru = { - corePackages = [ - [ "Cabal" "1.6.0.3" ] - [ "array" "0.2.0.0" ] - [ "base" "3.0.3.1" ] - [ "base" "4.1.0.0" ] - [ "bytestring" "0.9.1.4" ] - [ "containers" "0.2.0.1" ] - [ "directory" "1.0.0.3" ] - [ "extensible-exceptions" "0.1.1.0" ] - [ "filepath" "1.1.0.2" ] - [ "ghc" "6.10.4" ] - [ "ghc-prim" "0.1.0.0" ] - [ "haddock" "2.4.2" ] - [ "haskell98" "1.0.1.0" ] - [ "hpc" "0.5.0.3" ] - [ "integer" "0.1.0.1" ] - [ "old-locale" "1.0.0.1" ] - [ "old-time" "1.0.0.2" ] - [ "packedstring" "0.1.0.1" ] - [ "pretty" "1.0.1.0" ] - [ "process" "1.0.1.1" ] - [ "random" "1.0.0.1" ] - [ "rts" "1.0" ] - [ "syb" "0.1.0.1" ] - [ "template-haskell" "2.3.0.1" ] - [ "unix" "2.3.2.0" ] - ]; - }; } |