Commit graph

249 commits

Author SHA1 Message Date
Marc Weber 22c7d08b6a proposal cabal ghc builder + dep tracking using GHC_PACKAGE_PATH (untested - not yet working)
svn path=/nixpkgs/trunk/; revision=10245
2008-01-22 14:34:23 +00:00
Michael Raskin bc46eaf404 Some review of builder-defs and dependent files. No rebuild needed. Now it should be possible to override elements in builderDefs
svn path=/nixpkgs/trunk/; revision=10214
2008-01-18 12:36:56 +00:00
Marc Weber e054e91e8b renamed av/avs (create attr/value set) to nv nvs
because niksnut has renamed the attr names in listToAttrs long time ago.

svn path=/nixpkgs/trunk/; revision=10185
2008-01-17 11:08:24 +00:00
Andres Löh 7f402451ec * porting changes from ghc-6.8.2 nix expression back to 6.6.1
* cleaning up a bit

svn path=/nixpkgs/trunk/; revision=10103
2008-01-09 13:08:36 +00:00
Andres Löh 35d05e3cc1 * statically fix the gcc instance used by ghc
svn path=/nixpkgs/trunk/; revision=10099
2008-01-08 08:45:39 +00:00
Andres Löh 5d4fd5f529 * readline library flag restored; this is required for ghc during linking
svn path=/nixpkgs/trunk/; revision=10092
2008-01-07 22:02:44 +00:00
Eelco Dolstra ab5a39d40b * Doh.
svn path=/nixpkgs/trunk/; revision=9954
2007-12-19 11:19:02 +00:00
Eelco Dolstra ae979c46a9 * Support for building GHC 6.8 on Darwin.
svn path=/nixpkgs/trunk/; revision=9942
2007-12-14 21:30:03 +00:00
Eelco Dolstra e9536180f1 * Doh.
svn path=/nixpkgs/trunk/; revision=9941
2007-12-14 17:53:38 +00:00
Eelco Dolstra 65c1809b67 * Support for building a bootstrap GHC (ghcboot) on i686-darwin.
Building of the bootstrapped compiler isn't tested yet.

svn path=/nixpkgs/trunk/; revision=9940
2007-12-14 17:51:11 +00:00
Andres Löh 05cbfdc0bc * version bump to 6.8.2
svn path=/nixpkgs/trunk/; revision=9933
2007-12-13 22:49:32 +00:00
Andres Löh 4015abfb18 * fixed libraries/core packages for ghc-6.8
svn path=/nixpkgs/trunk/; revision=9908
2007-12-11 19:00:56 +00:00
Andres Löh 67b8350ee6 * ghc-6.8 is no longer a snapshot
* fixed typo in application of x86_64 patch, i.e.,
    now really seems to work on x86_64 ...

svn path=/nixpkgs/trunk/; revision=9898
2007-12-10 10:50:59 +00:00
Marc Weber 285a11f346 forgotten to commit this small patch
svn path=/nixpkgs/trunk/; revision=9866
2007-12-06 01:33:12 +00:00
Marc Weber 980b32acea Many thanks to Ian Lynagh (Igloo) - Now ghc runs on x86_64 on nixos as well
svn path=/nixpkgs/trunk/; revision=9864
2007-12-05 23:31:38 +00:00
Eelco Dolstra c54b75c959 * Get rid of the `(import (__toPath ((toString
./JustNothing/.. )+"/"+args.version+".nix")))' hack, you can also just
  write `import (./path/to/pkg + "/${version}.nix)'.

svn path=/nixpkgs/trunk/; revision=9792
2007-11-26 13:24:56 +00:00
Eelco Dolstra 2e7b2f8c43 * Nix 0.10 compatibility.
svn path=/nixpkgs/trunk/; revision=9782
2007-11-23 16:58:42 +00:00
Eelco Dolstra b5bfaa03f1 * GCC 3.4: pass --disable-multilib to make it build on x86_64.
svn path=/nixpkgs/trunk/; revision=9704
2007-11-16 13:08:20 +00:00
Yury G. Kudryashov 1dba148448 Fixed a typo in ocaml-3.10.0
svn path=/nixpkgs/trunk/; revision=9672
2007-11-14 22:49:24 +00:00
Yury G. Kudryashov cf76a30070 ocaml: Added 3.10.0, using getVersion staff
I've added the latest (3.10.0) version of ocaml and let the user choose default
version.

svn path=/nixpkgs/trunk/; revision=9671
2007-11-14 22:39:58 +00:00
Michael Raskin a9f02cbe6c Fixed Qi
svn path=/nixpkgs/trunk/; revision=9603
2007-11-08 15:15:41 +00:00
Michael Raskin b7a3dcdb94 Added missing Qi
svn path=/nixpkgs/trunk/; revision=9602
2007-11-08 14:51:41 +00:00
Marc Weber fff1ba967e New proposal on howto library dependencies could be handled.
Just install ghc68_wrapper which will install the required dependencies ghc
(and libraries) itself.
The list libraries given in the wrapper attribute set can be user tuned in the future ?
An alternative would be creating something similar to the gcc/g++ include/ lib/ scheme which
is could be used by ghc to find installed packages..

svn path=/nixpkgs/trunk/; revision=9581
2007-11-05 09:27:36 +00:00
Marc Weber 16d701c9ab rxvt-unicode and jdk update provided by Tobias Hammerschmidt
svn path=/nixpkgs/trunk/; revision=9561
2007-10-31 12:17:14 +00:00
Eelco Dolstra 4095c41c33 * Temporary hack to prevent mass recompiles.
svn path=/nixpkgs/trunk/; revision=9551
2007-10-29 11:29:47 +00:00
Michael Raskin 0c4c2cb04d Added missing fortran.sh . Doesn't work, though
svn path=/nixpkgs/trunk/; revision=9550
2007-10-29 11:23:22 +00:00
Michael Raskin 98b2568a0f Tried to fortran-tune (insuccessfully) gcc expressions. They must accept mpfr and gmp anyway if we ever will build fortran.
svn path=/nixpkgs/trunk/; revision=9545
2007-10-28 20:19:43 +00:00
Andres Löh 23d6fce80d * adding ghc-6.8 even though it still segfaults on my machine
(it's marked lowPrio for now, so it shouldn't break anything)

svn path=/nixpkgs/trunk/; revision=9482
2007-10-19 13:24:29 +00:00
Michael Raskin 2a59b66914 Corrected fpc configuration generation after update.
svn path=/nixpkgs/trunk/; revision=9474
2007-10-19 07:59:48 +00:00
Michael Raskin 187c737e3c FPC version bump
svn path=/nixpkgs/trunk/; revision=9405
2007-10-04 19:18:31 +00:00
Eelco Dolstra 544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra 45a2c87402 * Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of
fetchurl {
      url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  you can write

    fetchurl {
      url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  which causes fetchurl to try the SourceForge mirrors listed in the
  `sourceforge' attribute in build-support/fetchurl/mirrors.nix.
  (They're currently tried in sequence, and the lists of mirrors are
  not configurable yet.)

  The syntax for mirror URLs is mirror://site/path/to/file, where
  `site' is currently one of `sourceforge', `gnu' (mirrors of
  ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of
  http://www.all.kernel.org/pub/).

svn path=/nixpkgs/trunk/; revision=9197
2007-08-27 12:44:01 +00:00
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Marc Weber 88640db58e hugs98 expression
svn path=/nixpkgs/trunk/; revision=9168
2007-08-20 10:33:42 +00:00
Andres Löh 920ce3551d * make ghc use the nix-provided gmp
- this fixes ghc on x86_64 and hopefully doesn't break 32-bit
  - ghc-6.6.1 and -6.6 are tested on 64-bit, 6.4.2 might fail

svn path=/nixpkgs/trunk/; revision=9132
2007-08-15 11:25:20 +00:00
Michael Raskin aae4a8db7a Added Free Pascal Compiler.
svn path=/nixpkgs/trunk/; revision=9102
2007-08-11 20:55:40 +00:00
Andres Löh 6710a5e02f * make ghcboot work on 64-bit
svn path=/nixpkgs/trunk/; revision=9067
2007-08-07 23:59:08 +00:00
Eelco Dolstra 61656532dd * GCC 4.0.4.
svn path=/nixpkgs/trunk/; revision=9062
2007-08-07 12:05:10 +00:00
Armijn Hemel 838879a4ac fix hash for ghc
svn path=/nixpkgs/trunk/; revision=8818
2007-06-02 17:15:19 +00:00
Eelco Dolstra 13567556bf * Give the real GCC a lower priority than the GCC wrapper so that both
can be installed in a user environment without conflict.  This is
  useful if you need gcov (which isn't symlinked in the GCC wrapper).

svn path=/nixpkgs/trunk/; revision=8809
2007-05-31 13:00:49 +00:00
Eelco Dolstra 2a804eb95b * Backported the gcc 4.2 patch to 4.1
* Update to gcc 4.1.2.
* Removed some unnecessary stuff from the patch.

svn path=/nixpkgs/trunk/; revision=8739
2007-05-24 13:30:09 +00:00
Eelco Dolstra 59d7cc0cd0 * Maybe libmudflap and libssp work now.
svn path=/nixpkgs/trunk/; revision=8724
2007-05-20 21:21:35 +00:00
Eelco Dolstra 062308aabf * Remove some "fixed" header files.
* Strip the gcc executables.

svn path=/nixpkgs/trunk/; revision=8723
2007-05-20 21:09:49 +00:00
Eelco Dolstra b8dae869b3 * Trying to get gcc 4.2.0 to compile...
* Compute --enable-languages in the Nix expression instead of in the
  builder.
* Pass some flags through the Make command line instead of patching
  the Makefiles.
* gcc: generate code for i686 by default (instead of i386).
* gcc: patch out some references to /lib and /usr/lib.

svn path=/nixpkgs/trunk/; revision=8722
2007-05-20 20:27:55 +00:00
Armijn Hemel 8191ee8927 fix patch, still does not build cleanly
svn path=/nixpkgs/trunk/; revision=8716
2007-05-17 23:37:57 +00:00
Armijn Hemel 15c8486e51 gcc 4.2.0 stubs. untested.
svn path=/nixpkgs/trunk/; revision=8715
2007-05-17 16:27:54 +00:00
Eelco Dolstra 41291a5b26 * Fix Mesa-related evaluation errors.
svn path=/nixpkgs/trunk/; revision=8708
2007-05-16 14:49:28 +00:00
Andres Löh e3f701c311 * ghc version 6.6.1
svn path=/nixpkgs/trunk/; revision=8654
2007-05-06 15:39:39 +00:00
Eelco Dolstra 0caae36936 * Purity fix: don't use /usr/bin/install.
svn path=/nixpkgs/trunk/; revision=8619
2007-04-26 22:28:26 +00:00