Commit Graph

4626 Commits

Author SHA1 Message Date
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
Armijn Hemel
52cb80f235 remove cross compilers. Work is done on a seperate branch and these compilers are not functional anyway right now.
svn path=/nixpkgs/trunk/; revision=8587
2007-04-16 21:45:29 +00:00
Eelco Dolstra
0005a37b8d * In the JDK packages, don't return false if the platform is
unsupported.  This gives a type error ("value is a boolean while 
  an attribute set was expected").

svn path=/nixpkgs/trunk/; revision=8576
2007-04-16 10:07:06 +00:00
Eelco Dolstra
61171e3f15 * Fix GCC 3.3.
svn path=/nixpkgs/trunk/; revision=8478
2007-03-29 13:37:39 +00:00
Martin Bravenboer
753eae47d1 jdk-without-plugin fix
svn path=/nixpkgs/trunk/; revision=8460
2007-03-28 18:29:26 +00:00
Martin Bravenboer
a9c0d60adb disabled sharpbang test
svn path=/nixpkgs/trunk/; revision=8458
2007-03-28 17:49:51 +00:00
Martin Bravenboer
f92b856311 added ncurses support to ocaml
svn path=/nixpkgs/trunk/; revision=8457
2007-03-28 17:15:03 +00:00
Martin Bravenboer
9d9372cd58 Make jdk plugin support optional to avoid deps on gcc 3.3.6 everywhere.
svn path=/nixpkgs/trunk/; revision=8452
2007-03-28 15:21:43 +00:00
Eelco Dolstra
e0ad264f43 * Get GCC 3.3 to build on x86_64/powerpc-linux. Not tested.
svn path=/nixpkgs/trunk/; revision=8439
2007-03-28 12:29:36 +00:00
Martin Bravenboer
fb91f1b319 M pkgs/development/compilers/jdk/jdk6-linux.nix
M    pkgs/development/compilers/jdk/dlj-bundle-builder.sh

Various fixes to get javaws and mozillaPlugin to work. Requires gcc3.3
libstdc++ to be in the dynamic library path.


svn path=/nixpkgs/trunk/; revision=8434
2007-03-27 22:02:55 +00:00
Martin Bravenboer
778d516e41 A pkgs/tools/typesetting/pdfjam
A    pkgs/tools/typesetting/pdfjam/builder.sh
A    pkgs/tools/typesetting/pdfjam/default.nix

Added pdfjam, a package with the following tools:

    * pdfnup, which allows PDF files to be "n-upped" in roughly the
      way that psnup does for PostScript files.

    * pdfjoin, which concatenates the pages of multiple PDF files
      together into a single file

    * pdf90, which rotates the pages of one or more PDF files through
      90 degrees (anti-clockwise).

M    pkgs/development/compilers/jdk/jdk6-linux.nix

Typo


svn path=/nixpkgs/trunk/; revision=8404
2007-03-21 12:53:01 +00:00
Martin Bravenboer
d86846bb6a Fixes in x86_64 support for the jdk.
svn path=/nixpkgs/trunk/; revision=8329
2007-03-18 00:33:32 +00:00
Martin Bravenboer
03dbe4cf1f Added x86_64-linux support to the jdk.
svn path=/nixpkgs/trunk/; revision=8326
2007-03-17 14:37:23 +00:00
Martin Bravenboer
c212318239 patch unpack200 before running the construct script
svn path=/nixpkgs/trunk/; revision=8198
2007-03-05 21:33:47 +00:00
Martin Bravenboer
038454978f Use unzip to avoid unpurities
svn path=/nixpkgs/trunk/; revision=8196
2007-03-05 19:54:37 +00:00
Martin Bravenboer
3b1d307518 More deps on xlibs
svn path=/nixpkgs/trunk/; revision=8188
2007-03-05 17:55:17 +00:00
Martin Bravenboer
25e0bf0f49 oops.
svn path=/nixpkgs/trunk/; revision=8187
2007-03-05 17:29:21 +00:00
Martin Bravenboer
6892b99bf6 Update of jdk and jre to jdk-distros, based on Distributor License for Java.
D    pkgs/development/interpreters/jre

Obsolete. jdk and jre are now build by the same expression.

D    pkgs/development/compilers/blackdown

Obsolete. jdk is now downloadable.

D    pkgs/development/compilers/jdk/jdk5-sun-linux.nix

Obsolete

A    pkgs/development/compilers/jdk/dlj-bundle-builder.sh

Build for DLJ bundles.

M    pkgs/top-level/all-packages.nix

Dropped blackdown and ant based on blackdown.

A    pkgs/development/compilers/jdk/jdk6-construct.sh

Copy of DLJ construct script to fix problem with jdk6 bundles.

A    pkgs/development/compilers/jdk/jdk6-linux.nix

New main Nix expression for jdk and jre. Supports mozillaPlugin.

A    pkgs/development/compilers/jdk/dlj-bundle-builder.sh

Include path to libjli in rpath.


svn path=/nixpkgs/trunk/; revision=8186
2007-03-05 17:13:53 +00:00
Eelco Dolstra
279c1e343e * ghc-pkg wrapper: remove --global; it's not needed and it causes
problems (e.g., with ghc-pkg -s PKGNAME).

svn path=/nixpkgs/trunk/; revision=7790
2007-01-24 14:26:50 +00:00
Eelco Dolstra
f861c8b66c * makeFlags -> buildFlags in a few places.
svn path=/nixpkgs/trunk/; revision=7503
2006-12-27 18:34:35 +00:00
Arie Middelkoop
afde8e6270 Added GHC 6.6.
note: the old GHC 6.4(.2?) version is still there. I reused the bootstrap-version to bootstrap GHC-6.6. And some other packages depend on the old GHC 
version as well.

note: only use this package for building other packages. If you install it as an end-user, you'll only be able to use the default GHC libraries, 
because other libraries are only privately registered to this GHC version during a nix-build by hooks (which are not executed when you run GHC 
yourself as an end-user).

Consequently, also added a newer version of uulib and uuagc.

svn path=/nixpkgs/trunk/; revision=7346
2006-12-15 13:32:55 +00:00
Eelco Dolstra
711bb9b56a * Fix GCC 3.3.
svn path=/nixpkgs/trunk/; revision=6904
2006-10-30 11:58:24 +00:00
Eelco Dolstra
0b78c04601 * Fix gcc 3.3.
svn path=/nixpkgs/trunk/; revision=6898
2006-10-28 23:41:45 +00:00
Eelco Dolstra
3a6754f6bb * gcc-4.1-temp -> gcc-4.1.
* Use real URLs.

svn path=/nixpkgs/trunk/; revision=6884
2006-10-27 23:14:41 +00:00
Eelco Dolstra
b7a96d74e2 svn path=/nixpkgs/trunk/; revision=6883 2006-10-27 23:13:44 +00:00
Eelco Dolstra
3ea7d9d272 * Fix static linking in gcc.
* Use the coreutils in dietlibc.
* Add objdump to the binutils static tarball.

svn path=/nixpkgs/trunk/; revision=6879
2006-10-27 20:08:53 +00:00
Eelco Dolstra
b90781ec21 * Renamed orig-glibc -> orig-libc in some places, and in others, use
the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
2006-10-27 12:43:32 +00:00
Eelco Dolstra
2d3cfb2058 * Put back in the code to do a profiled GCC build, but turn in off
(build ICEs).

svn path=/nixpkgs/trunk/; revision=6861
2006-10-26 20:23:49 +00:00
Eelco Dolstra
eb4584c0cb * Merge the gcc-4.1 changes into 3.4.
svn path=/nixpkgs/trunk/; revision=6855
2006-10-26 11:25:29 +00:00
Eelco Dolstra
4be38f2f31 * No longer needed.
svn path=/nixpkgs/trunk/; revision=6851
2006-10-25 16:32:33 +00:00
Eelco Dolstra
7f9a2ecc16 * Fix building in an impure environment.
svn path=/nixpkgs/trunk/; revision=6841
2006-10-25 09:50:58 +00:00
Eelco Dolstra
1a7576f193 * Get the g++ tarball unconditionally, otherwise the patch won't apply.
svn path=/nixpkgs/trunk/; revision=6840
2006-10-25 09:23:20 +00:00
Eelco Dolstra
69ee353dc7 * glibc-2.5 is the default now.
* Remove gcc-static-3.4.

svn path=/nixpkgs/trunk/; revision=6831
2006-10-24 22:23:20 +00:00
Eelco Dolstra
b342dcb13b * gcc-wrapper: separately store the flags necessary to find GCC and
Glibc.  This is useful when building GCC.
* gcc-wrapper: the dynamic linker has a different name on x86_64 and
  powerpc.
* gcc-wrapper: "glibc" -> "libc", because someday we might support
  different C libraries.
* gcc: don't do a multilib build (e.g., 32-bit support on x86_64),
  don't need it.
* gcc: merge in support for static builds.
* gcc: various simplifications in the compiler/linker flags, hope they
  work.

svn path=/nixpkgs/trunk/; revision=6823
2006-10-24 18:26:23 +00:00
Eelco Dolstra
0cf5154681 * Build a static GCC, properly. (Reminder: when building GCC on an
impure x86_64 environment, make sure that the 32-bit GCC / Glibc
  libraries are installed, such as /usr/lib/crti.o.)

svn path=/nixpkgs/trunk/; revision=6818
2006-10-24 11:36:19 +00:00
Eelco Dolstra
c466083d3f * Don't build unnecessary libraries.
svn path=/nixpkgs/trunk/; revision=6812
2006-10-23 21:51:08 +00:00
Eelco Dolstra
b495d3f65e * Trying to get gcc-static to build on x86_64. Still doesn't work though.
svn path=/nixpkgs/trunk/; revision=6809
2006-10-23 18:56:43 +00:00
Eelco Dolstra
6aefff0061 * Fix for NIXPKGS-30: make libstdc++'s configure script correctly
identify the features of the compiler / C library.  Specifically, it
  should find out that functions like floorf() are available and not
  substitute its own versions that have the unfortunate tendency of
  going off into an infinite recursion.

svn path=/nixpkgs/trunk/; revision=6738
2006-10-16 07:05:36 +00:00
Eelco Dolstra
ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra
ad897a7c96 * Update more URLs.
svn path=/nixpkgs/trunk/; revision=6713
2006-10-12 14:53:45 +00:00
Eelco Dolstra
d030e2fdd7 * Removed Harp.
svn path=/nixpkgs/trunk/; revision=6712
2006-10-12 14:29:05 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
368c196a62 * More descriptions.
svn path=/nixpkgs/trunk/; revision=6709
2006-10-12 10:53:16 +00:00
Eelco Dolstra
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Martin Bravenboer
98038f9592 PowerPC environment is not pure, so patching is useless
svn path=/nixpkgs/trunk/; revision=6406
2006-08-31 02:06:31 +00:00
Martin Bravenboer
6bae4d7e4e Prelim. support for JDK on PowerPC using IBM's SDK
svn path=/nixpkgs/trunk/; revision=6405
2006-08-31 01:51:41 +00:00
Martin Bravenboer
80e695bfca PKG_CONFIG_PATH no longer required
svn path=/nixpkgs/trunk/; revision=6268
2006-08-27 12:52:56 +00:00
Martin Bravenboer
9706572beb Hack hack
svn path=/nixpkgs/trunk/; revision=6264
2006-08-27 03:50:20 +00:00
Martin Bravenboer
eac3336cd6 Hack hack
svn path=/nixpkgs/trunk/; revision=6263
2006-08-27 03:49:09 +00:00
Martin Bravenboer
0ff3af3d00 Hack hack
svn path=/nixpkgs/trunk/; revision=6262
2006-08-27 03:45:51 +00:00
Martin Bravenboer
961b20c1b7 Added pre release of stratego libraries, fixed support for configureFlags in MinGW, add binary pkg-config distribution for bootstrapping. Optionally use pkgconfig from the stdenv (again, for bootstrapping)
svn path=/nixpkgs/trunk/; revision=6253
2006-08-26 20:11:31 +00:00
Armijn Hemel
6c7ea78070 fix compilation so we can build a statically linked gcc with an impure environment. Needs "noSysDirs = false" passed as a parameter in all-packages.nix, or whatever.
svn path=/nixpkgs/trunk/; revision=6247
2006-08-25 23:24:41 +00:00
Armijn Hemel
b6811b43f1 pass noSysDirs for static gcc
svn path=/nixpkgs/trunk/; revision=6246
2006-08-25 22:19:16 +00:00
Armijn Hemel
1a2f1130cb 3.4.2 -> 3.4.6
We should update the whole Nix "static baseline" soon...ish

svn path=/nixpkgs/trunk/; revision=6244
2006-08-25 21:20:04 +00:00
Armijn Hemel
1b17f45ef5 add a statically linked gcc-4.1
svn path=/nixpkgs/trunk/; revision=6056
2006-08-05 13:50:42 +00:00
Martin Bravenboer
799e451a26 Updated abc to version 1.2.0
svn path=/nixpkgs/trunk/; revision=6021
2006-08-02 17:27:42 +00:00
Martin Bravenboer
6fa02079b8 Update of aspectj to 1.5.2
svn path=/nixpkgs/trunk/; revision=6019
2006-08-02 16:42:52 +00:00
Eelco Dolstra
3defd9a3d3 * On Darwin, use Apple's gcc fork.
svn path=/nixpkgs/trunk/; revision=5715
2006-07-14 22:34:24 +00:00
Eelco Dolstra
4d7f947bcb * GCC 4.0.3.
svn path=/nixpkgs/trunk/; revision=5676
2006-07-11 07:55:38 +00:00
Eelco Dolstra
1165fdd247 * More fixes.
svn path=/nixpkgs/trunk/; revision=5513
2006-06-24 11:16:29 +00:00
Eelco Dolstra
7682bf3d1e * Make it easier to override parts of stdenv (like gcc or make) per
package using the `overrideGCC' and `overrideInStdenv' functions.

svn path=/nixpkgs/trunk/; revision=5505
2006-06-23 20:11:36 +00:00
Eelco Dolstra
45e1edfda8 * Give the GHC builder a temporary $HOME.
svn path=/nixpkgs/trunk/; revision=5504
2006-06-23 20:08:48 +00:00
Eelco Dolstra
3042581b2a * Disable some stuff.
* Use GNU make 3.80 for StrategoXT.
* Updated octave.

svn path=/nixpkgs/trunk/; revision=5502
2006-06-23 14:04:32 +00:00
Eelco Dolstra
fc37dbc487 * GCC 3.4.6.
svn path=/nixpkgs/trunk/; revision=5496
2006-06-23 11:09:07 +00:00
Eelco Dolstra
2bbb426a7d * GHC 6.4.2.
svn path=/nixpkgs/trunk/; revision=5493
2006-06-22 15:22:55 +00:00
Eelco Dolstra
9af9b95298 * Make GCC 4.1.1 the default compiler for Nixpkgs.
svn path=/nixpkgs/trunk/; revision=5481
2006-06-21 15:54:18 +00:00
Martin Bravenboer
0d6c1cb83b Updates of jre and jdk
svn path=/nixpkgs/trunk/; revision=5395
2006-06-06 19:43:31 +00:00
Eelco Dolstra
1a9b6bb4ad * Microsoft Windows SDK, purified. Small problem: building the SDK
takes huge amounts of temporary disk space (almost 2 GB).  Oh well.

svn path=/nixpkgs/trunk/; revision=5386
2006-06-05 22:03:52 +00:00
Eelco Dolstra
fef1bdfad1 * Make it work.
svn path=/nixpkgs/trunk/; revision=5385
2006-06-05 20:23:24 +00:00
Eelco Dolstra
d571eaafb3 * Started adding the Windows SDK.
svn path=/nixpkgs/trunk/; revision=5384
2006-06-05 19:40:14 +00:00
Eelco Dolstra
588383905a * Download and unpack Visual C++ 2005 Express Edition.
svn path=/nixpkgs/trunk/; revision=5383
2006-06-05 19:26:11 +00:00
Eelco Dolstra
51640ca1ab * Oops.
svn path=/nixpkgs/trunk/; revision=5371
2006-06-02 12:05:03 +00:00
Eelco Dolstra
08d3840c94 * A Hello World GUI application compiled with VC++.
svn path=/nixpkgs/trunk/; revision=5370
2006-06-02 10:09:19 +00:00
Eelco Dolstra
91aebd8616 * A wrapper around the Visual C++ compiler and the Windows SDK.
TODO: download and unpack into the Nix store Visual C++ (either from
  Visual C++ Express Edition or from the .NET 2.0 Framework SDK) and
  the Windows Platform SDK.  The command line tools don't seem to need
  any registry settings...

svn path=/nixpkgs/trunk/; revision=5369
2006-06-02 09:56:10 +00:00
Martin Bravenboer
8dbf2c38fb * Update of jre
* Added aspectj-1.5.0


svn path=/nixpkgs/trunk/; revision=5110
2006-03-26 03:52:55 +00:00
Martin Bravenboer
d88e2ea70f Added abc 1.1.1.
svn path=/nixpkgs/trunk/; revision=5109
2006-03-26 03:21:32 +00:00
Eelco Dolstra
09a9cae715 * Merged the usability branch (from trunk@4749 to branches/usability@5087).
svn path=/nixpkgs/trunk/; revision=5088
2006-03-24 12:25:19 +00:00
Eelco Dolstra
baec8f5b38 * stdenv.mkDerivation now takes an optional attribute "meta" that
contains arbitrary information about a package, like this:

  meta = {
    homepage = "http://gcc.gnu.org/";
    license = "GPL/LGPL";
    description = "GNU Compiler Collection, 4.0.x";
  };

  The "meta" attribute is not passed to the actual derivation
  operation, so it's not a dependency --- changes to "meta" attributes
  don't trigger a recompilation.

  Now we have to standardise some useful attributes ;-)

svn path=/nixpkgs/branches/usability/; revision=5024
2006-03-10 16:12:46 +00:00
Eelco Dolstra
4c63a4a97a * Don't pass Blackdown to firefox-wrapper unless it is actually built.
svn path=/nixpkgs/branches/usability/; revision=4999
2006-03-08 16:03:47 +00:00
Armijn Hemel
6bec50fda1 add gcc-4.1. The no-sys-dirs.patch had to be regenerated because a lot of stuff had been reworked in the Makefiles for 4.1.
svn path=/nixpkgs/trunk/; revision=4961
2006-03-01 19:09:53 +00:00
Merijn de Jonge
ebe59d3d21 fixed ocaml/qcmm problem:
-created separate nix expressions for ocaml-3.08.0 and ocaml 3.09.1
-ocam-3.09.1 is standard/default ocaml version (included by ocaml/default.nix)
-created ocaml3080 in all-packages-generic.nix
-qcmm now uses ocaml3080 instead of ocaml


svn path=/nixpkgs/trunk/; revision=4935
2006-03-01 09:18:22 +00:00
Merijn de Jonge
90666e6eff Updated ocaml to version 3.09.1
svn path=/nixpkgs/trunk/; revision=4882
2006-02-23 09:30:40 +00:00
Christof Douma
3c68c34ee7 build native qc-- version only (with ocamlopt). This removes the runtime dependency on ocaml.
svn path=/nixpkgs/trunk/; revision=4682
2006-02-02 20:14:11 +00:00
Christof Douma
1fa4c66b73 added version to uuagc
added: noweb, lua-5.x, lua-4.x, mk, qc-- (as qcmm)

svn path=/nixpkgs/trunk/; revision=4681
2006-02-02 17:07:07 +00:00
Andres Löh
51e287469c * ghc should call the gcc instance it's been built with (to compile Haskell code)
svn path=/nixpkgs/trunk/; revision=4658
2006-01-31 23:58:32 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
accbe1d1a7 update to jdk-1_5_0_06-linux-i586.bin
svn path=/nixpkgs/trunk/; revision=4618
2006-01-30 14:25:19 +00:00
Christof Douma
8d4e61d096 change uulib to store all dependencies to package.conf
added ghc-wrapper to use a generated global package.conf
added uuagc

svn path=/nixpkgs/trunk/; revision=4608
2006-01-27 10:16:15 +00:00
Armijn Hemel
7625850ab3 a patch which defines FLAGS_FOR_TARGET. This patch is not enabled by default
svn path=/nixpkgs/trunk/; revision=4585
2006-01-23 11:53:33 +00:00
Eelco Dolstra
57315e624d * Fix the gcc-4.0.2 build. It was impure: it used /lib/cpp during the
building of libstdc++.
* Add gcc-4.0.2 to the channel.  

svn path=/nixpkgs/trunk/; revision=4583
2006-01-20 17:27:53 +00:00
Armijn Hemel
560a2d3c10 make a symlink to an existing "ar"
svn path=/nixpkgs/trunk/; revision=4468
2005-12-31 15:56:07 +00:00
Armijn Hemel
2f3dfaa5b9 make our cross compiler a lot more generic.
svn path=/nixpkgs/trunk/; revision=4464
2005-12-31 14:09:44 +00:00
Eelco Dolstra
b43c421658 * JDK: put the machine-dependent header files in the right place.
* Added SWT for GTK (built from source).
* Added Azureus (a Bittorrent client written in Java).

svn path=/nixpkgs/trunk/; revision=4438
2005-12-26 00:51:24 +00:00
Martin Bravenboer
83afd0c173 Added Transformers 0.4
svn path=/nixpkgs/trunk/; revision=4405
2005-12-22 07:39:06 +00:00
Eelco Dolstra
94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra
b6befed50e * Updated SDL, NASM and Generator to the latest versions.
* Moved Generator to the misc/emulators directory.

svn path=/nixpkgs/trunk/; revision=4330
2005-12-03 01:33:18 +00:00
Armijn Hemel
3f3636a403 we need this patch (the famous "-Dinhibit_libc hack") to get stuff compiled
properly

svn path=/nixpkgs/trunk/; revision=4315
2005-11-28 21:58:24 +00:00
Armijn Hemel
2748236699 add cross compilers for ARM, only able to compile C code
svn path=/nixpkgs/trunk/; revision=4313
2005-11-28 11:20:59 +00:00
Martin Bravenboer
9da2209bf0 Update of strategoxt-utils
svn path=/nixpkgs/trunk/; revision=4236
2005-11-04 19:20:51 +00:00
Martin Bravenboer
50a2b624f7 fix
svn path=/nixpkgs/trunk/; revision=4223
2005-11-04 13:38:29 +00:00
Martin Bravenboer
e45e5c724d Upgrade of strategoxt to 0.16
svn path=/nixpkgs/trunk/; revision=4222
2005-11-04 13:34:35 +00:00
Martin Bravenboer
4ba92bbd4e * Added unstable pre release of Stratego/XT 0.16
* Upgraded bibtex-tools to latest unstable release.


svn path=/nixpkgs/trunk/; revision=4176
2005-10-31 14:28:11 +00:00
Martin Bravenboer
2c6d747823 Update to 4.0.2
svn path=/nixpkgs/trunk/; revision=4170
2005-10-30 23:58:42 +00:00
Eelco Dolstra
3c1c258aa5 * Use PatchELF 0.1.
svn path=/nixpkgs/trunk/; revision=4062
2005-10-11 13:31:33 +00:00
Eelco Dolstra
7112b86997 * Export swingSupport attribute.
svn path=/nixpkgs/trunk/; revision=4032
2005-10-08 13:31:39 +00:00
Eelco Dolstra
5b63bb66f7 * Purification of JDK 5. At runtime it now uses the Nix-deployed
Glibc and X11 client libraries.  The latter are actually optional
  dependencies: if the function is called with `swingSupport' set to
  `false', they are not needed.  This is nice for, e.g., server
  environments.

  All hail Patchelf!

svn path=/nixpkgs/trunk/; revision=4030
2005-10-07 22:27:42 +00:00
Eelco Dolstra
881f4b0db1 * Use unzip to unpack the JDK. Then unpack the *.pack files. The
advantage is that we don't have to run the Sun installer (which is
  impure).

  TODO: make sure that all the other JDK versions still work.

svn path=/nixpkgs/trunk/; revision=4029
2005-10-07 14:49:37 +00:00
Eelco Dolstra
45f652ce1b * Pass readline and ncurses to the source-built ghc as well.
svn path=/nixpkgs/trunk/; revision=4013
2005-10-04 20:16:33 +00:00
Eelco Dolstra
efdb847441 * Use the new patchelf to build GHC in a fully pure way. Should be
checked on NixOS.

svn path=/nixpkgs/trunk/; revision=3993
2005-10-02 18:48:08 +00:00
Martin Bravenboer
4c70ef7e5d Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3871
2005-09-17 23:58:51 +00:00
Martin Bravenboer
3919e7593a Naming conventions
svn path=/nixpkgs/trunk/; revision=3870
2005-09-17 23:40:23 +00:00
Martin Bravenboer
a640e2a19a Naming conventions
svn path=/nixpkgs/trunk/; revision=3869
2005-09-17 23:39:03 +00:00
Martin Bravenboer
1122e263ee Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3867
2005-09-17 23:24:40 +00:00
Martin Bravenboer
a7eba5ec59 Added the Eclipse JDT SDK
svn path=/nixpkgs/trunk/; revision=3785
2005-09-07 10:08:00 +00:00
Martin Bravenboer
7e75cb7cc4 Added ecj (The Eclipse Compiler for Java) to Nix. This means that Java
5.0 code can now be compiled and run in Nix (the J2RE 5.0 was already
available without deployment problems).

Also, I need ecj to checkout its behaviour and warnings as a second
reference (javac).


svn path=/nixpkgs/trunk/; revision=3783
2005-09-06 00:00:22 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Martin Bravenboer
33110a9dde Provide 0.14 in nixpkgs
svn path=/nixpkgs/trunk/; revision=3634
2005-08-17 21:40:11 +00:00
Martin Bravenboer
e704378334 Added opencxx 2.8 to Nix packages
svn path=/nixpkgs/trunk/; revision=3551
2005-08-12 10:23:27 +00:00
Eelco Visser
d47a1e7741 hash for 0.15 tarball
svn path=/nixpkgs/trunk/; revision=3306
2005-07-09 13:11:57 +00:00
Eelco Visser
ed4b36e5ee upgrade to strategoxt 0.15
svn path=/nixpkgs/trunk/; revision=3305
2005-07-09 12:53:02 +00:00
Martin Bravenboer
458f0c6faf strategoxt-utils
svn path=/nixpkgs/trunk/; revision=3271
2005-06-30 16:54:25 +00:00
Martin Bravenboer
20765eb21b Updated all Java virtual machines: a serious security issue was found
in all 1.4.2 and 1.5.0 releases.


svn path=/nixpkgs/trunk/; revision=3230
2005-06-20 21:07:01 +00:00
Eelco Dolstra
a450978f26 * Glibc updated to 2.3.5.
* GCC 3.4.4 and 3.3.6.
* Other stdenv packages updated.

svn path=/nixpkgs/trunk/; revision=3188
2005-06-17 10:30:13 +00:00
Martin Bravenboer
286a0aa881 Custom builder not necessary
svn path=/nixpkgs/trunk/; revision=3134
2005-05-25 09:21:36 +00:00
Martin Bravenboer
637fae18a0 Upgrade of jikes. Jikes is now also included in the cache
svn path=/nixpkgs/trunk/; revision=3133
2005-05-25 09:20:30 +00:00
Martin Bravenboer
1c9690ab2f * pkgs/development/tools/parsing/sdf/default.nix: default.nix
now imports Nix expression of specific version.

* pkgs/development/tools/parsing/sdf/sdf2-bundle-2.2.nix: added
previous version of sdf2-bundle.

* pkgs/development/tools/parsing/sdf2: obsolete.

* pkgs/development/compilers/strategoxt/strategoxt-0.12.nix: use
sdf2-bundle instead of attribute set for the individual packages.

* 


svn path=/nixpkgs/trunk/; revision=3081
2005-05-19 11:23:56 +00:00
Martin Bravenboer
b99065a3d9 * Upgraded Stratego/XT to Stratego/XT 0.14
* Clean up of SDF attributes in all-package-generic. There is now a
single attribute, called sdf.


svn path=/nixpkgs/trunk/; revision=3062
2005-05-18 16:50:14 +00:00
Eelco Dolstra
2ed47f7522 * GCC 4.0.0 added (though it's not used for anything yet).
svn path=/nixpkgs/trunk/; revision=2878
2005-04-22 12:14:55 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Martin Bravenboer
51ce4ea2f7 * development/libraries/gnome/*: upgraded all gnome packages
to 2.8.3.

	* development/libraries/gnome/*: copied gtk packages to gnome
	directory. gnome 2.8.3 did not work on gtk 2.4 nor gtk
	2.6. Using the specific version of the gnome platform 2.8.3 directory
	'solved' the issue.

	* development/libraries/gnome/gnome-icon-theme: new packag
	* development/libraries/gnome/libgtkhtml: new package
	* development/libraries/gnome/gtkhtml: new package
	* development/libraries/gnome/libgnomeprint: new package
	* development/libraries/gnome/libgnomeprintui: new package
	* development/libraries/gnome/gnome-keyring: new package
	* development/libraries/gnome/gail: new package
	* applications/editors/monodoc: new package

svn path=/nixpkgs/trunk/; revision=2312
2005-02-26 23:45:19 +00:00
Martin Bravenboer
5ab3aa73c4 Added the latest Mono release
svn path=/nixpkgs/trunk/; revision=2276
2005-02-22 20:08:24 +00:00
Eelco Dolstra
3bf404a3f2 * Let the Mozilla plugins announce where in their output the actual
plugins are, rather then requiring certain fixed directories.

svn path=/nixpkgs/trunk/; revision=2242
2005-02-16 11:24:40 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Martin Bravenboer
a1f2fad0fe Added StrategoXT 0.13. StrategoXT 0.12 is still available
svn path=/nixpkgs/trunk/; revision=2039
2005-01-14 21:26:18 +00:00
Eelco Dolstra
9e5869f731 * GCC updated to 3.4.3.
svn path=/nixpkgs/trunk/; revision=1980
2004-12-31 11:21:42 +00:00
Martin Bravenboer
eeb83adeba Added strategoxt-0.12
svn path=/nixpkgs/trunk/; revision=1807
2004-11-26 17:36:22 +00:00
Martin Bravenboer
c35db17230 Added gwydion-dylan to nixpkgs
svn path=/nixpkgs/trunk/; revision=1786
2004-11-19 17:47:17 +00:00
Armijn Hemel
854c34cbcb finally have a static nix via nix...
svn path=/nixpkgs/trunk/; revision=1617
2004-10-28 12:53:11 +00:00
Rob Vermaas
cc87524f17 java 1.5.0
svn path=/nixpkgs/trunk/; revision=1541
2004-10-05 07:30:01 +00:00
Eelco Dolstra
dc29a4ac48 * Added SDL, Simple DirectMedia Layer.
* Added NASM, the Netwide Assembler.
* Added Generator, an emulator for Sega Genesis / Mega Drive machines.
  Built with XVideo patch. Strangely it crashes with a GDK error when
  started in normal mode.  However, with the "-a" switch (arcade mode)
  it works, and subsequently switching back to windowed mode (Ctrl-F)
  also works.

svn path=/nixpkgs/trunk/; revision=1509
2004-09-26 18:12:51 +00:00
Martin Bravenboer
b46f1539d0 Cleanup
svn path=/nixpkgs/trunk/; revision=1494
2004-09-22 20:28:04 +00:00
Martin Bravenboer
09f1f291fa Added strategoxt-unstable. Hope to keep this one up-to-date.
svn path=/nixpkgs/trunk/; revision=1492
2004-09-22 19:48:36 +00:00
Eelco Dolstra
aeee7551f0 * Explicitly set POSIX compliance level to work around coreutils
maintainer fascism.

svn path=/nixpkgs/trunk/; revision=1482
2004-09-21 15:27:43 +00:00
Eelco Dolstra
1ab4a9324c * The `patch' command is now part of stdenv, so it no longer needs to
be passed to derivations that need to apply patches.
* GCC 3.4 is now the default compiler (old GCC renamed to `gcc-3.3').
* The temporary GCCs built during the stdenvLinux bootstrap are now
  built without C++ support and without profiling.
* Remove fixincl in GCC 3.4 to prevent a retained dependency on the
  previous GCC.
* Always set $prefix in setup.sh, even when there is no configure
  script.

svn path=/nixpkgs/trunk/; revision=1444
2004-09-18 17:23:18 +00:00
Eelco Dolstra
9121f6da6a * GCC 3.4.2.
svn path=/nixpkgs/trunk/; revision=1389
2004-09-10 12:44:24 +00:00
Martin Bravenboer
261451c3ec Update to jdk 1.5.0 release candidate
svn path=/nixpkgs/trunk/; revision=1373
2004-09-02 12:50:37 +00:00
Martin Bravenboer
5f15317a59 Added backdown, which is a downloadable J2SDK. However, the builder still has to use 'yes yes' and more = cat.
svn path=/nixpkgs/trunk/; revision=1323
2004-08-24 09:12:01 +00:00
Martin Bravenboer
778dab85be Delete files in root directory
svn path=/nixpkgs/trunk/; revision=1301
2004-08-20 11:08:08 +00:00
Martin Bravenboer
ec899b9f2b Mirror jikes at losser
svn path=/nixpkgs/trunk/; revision=1300
2004-08-20 10:54:20 +00:00
Eelco Visser
2398d68d94 re-introduced patched configure script to avoid use of an absolute path for configuration of ocaml
svn path=/nixpkgs/trunk/; revision=1261
2004-08-11 20:08:08 +00:00
Martin Bravenboer
2ec94563bc Update to latest snapshot
svn path=/nixpkgs/trunk/; revision=1257
2004-08-11 08:37:30 +00:00
Martin Bravenboer
2c61f2f1af Update ofJ2SDK 1.4.2
svn path=/nixpkgs/trunk/; revision=1253
2004-08-09 21:27:04 +00:00
Martin Bravenboer
983a737867 Executable
svn path=/nixpkgs/trunk/; revision=1250
2004-08-09 19:20:46 +00:00
Eelco Dolstra
ffdc517c33 * GCC 2.95.3 (required to build some "old" stuff).
svn path=/nixpkgs/trunk/; revision=1213
2004-08-03 10:36:29 +00:00
Eelco Visser
de387a0368 strategoxt should use sdf bundle
svn path=/nixpkgs/trunk/; revision=1194
2004-07-28 13:12:28 +00:00
Eelco Visser
417aa140f6 don't use patched configure script for ocaml
svn path=/nixpkgs/trunk/; revision=1191
2004-07-28 11:23:35 +00:00
Eelco Visser
103f769310 - Some recent StrategoXT distributions
- Build ocaml with x11 support 


svn path=/nixpkgs/trunk/; revision=1190
2004-07-28 11:16:25 +00:00
Eelco Visser
4e0ab72b67 Nix expression for ocaml compiler.
- The package has a non-standard build interface;
  fixed with hooks for genericBuild
- The graph library requires x11 and the configure
  script looks in absolute directory paths to find
  X11. Fixed by using patched configure script from
  which the absolute paths have been removed. As
  a consequence the graph library is not build until
  we have X11 support in Nix.


svn path=/nixpkgs/trunk/; revision=1188
2004-07-28 10:08:31 +00:00
Eelco Visser
6bb1fefcdc nix expression for ocaml
svn path=/nixpkgs/trunk/; revision=1187
2004-07-27 21:16:09 +00:00
Eelco Visser
be48aa538b - O'Caml compiler for Object CaML
- hevea is an interpreter for latex producing html

svn path=/nixpkgs/trunk/; revision=1171
2004-07-16 22:58:15 +00:00
Martin Bravenboer
feeff4dfb1 Working on improved Ant package in Nix: do configuration in wrapper scripts. This is the 'core' Ant.
svn path=/nixpkgs/trunk/; revision=1148
2004-07-10 13:59:21 +00:00
Eelco Dolstra
d91c216e2c * Include gcc 3.4.x in the nixpkgs release.
* Remove precompiled headers, which are nice except that
  A) they don't work; and
  B) they make gcc take up 270% more disk space.

svn path=/nixpkgs/trunk/; revision=1129
2004-07-05 12:20:23 +00:00
Eelco Dolstra
2bf90b3fbf * gcc-wrapper: inherit gcc's name by default.
* gcc: upgraded to 3.4.1.

  Zie je wel, Martin, gcc is niet eng :-)

svn path=/nixpkgs/trunk/; revision=1128
2004-07-05 12:00:19 +00:00
Eelco Dolstra
d92fa0bf37 * Add an option to GCC to build a profiled compiler (which is about
5-10% faster).

svn path=/nixpkgs/trunk/; revision=1108
2004-07-01 12:17:53 +00:00
Eelco Dolstra
56fd464a72 * GCC 3.4 now seems to work.
svn path=/nixpkgs/trunk/; revision=1105
2004-06-29 17:33:54 +00:00
Eelco Dolstra
62981b617d * Started adding gcc 3.4.
svn path=/nixpkgs/trunk/; revision=1103
2004-06-29 08:25:55 +00:00
Martin Bravenboer
6ade14473a Latest daily distribution of StrategoXT in Nix
svn path=/nixpkgs/trunk/; revision=1066
2004-06-21 13:17:20 +00:00
Martin Bravenboer
3d90f961b4 Added Happy parser generator and HaRP: Haskell Regular Patterns
svn path=/nixpkgs/trunk/; revision=1043
2004-06-09 14:23:05 +00:00
Martin Bravenboer
ef73044b61 Upgrade to beta2
svn path=/nixpkgs/trunk/; revision=1039
2004-06-01 19:36:45 +00:00
Martin Bravenboer
fec8c962ab Added the packages that constitute the sdf2 distribution 2.1 as separate packages, collected in a Nix attribute set
svn path=/nixpkgs/trunk/; revision=1020
2004-05-13 18:06:09 +00:00
Martin Bravenboer
ffade7689e Added j2sdk-1.5.0-beta
svn path=/nixpkgs/trunk/; revision=1014
2004-05-12 15:06:23 +00:00
Martin Bravenboer
ecdac2b804 Upgrade strategoxt to 0.10
svn path=/nixpkgs/trunk/; revision=1013
2004-05-12 14:34:12 +00:00
Eelco Dolstra
1049ba5906 * Specified MD5 hash.
svn path=/nixpkgs/trunk/; revision=940
2004-04-14 12:55:37 +00:00
Eelco Dolstra
02ec562596 * GHC now works again.
svn path=/nixpkgs/trunk/; revision=925
2004-04-07 14:16:57 +00:00
Eelco Dolstra
beaff0a892 * Ensure that when building gcc, libstdc++ is linked against the
libgcc of the gcc being built, not the gcc building it.
* Only include a directory in the rpath of an executable/library if it
  is actually used.  Before, the `/lib' directory of every build input
  was added to the rpath, causing many unnecessary retained
  dependencies.  For instance, Perl has a `/lib' directory, but most
  applications whose build process uses Perl don't actually link
  against Perl.  (Also added a test for this.)
* After building glibc, remove glibcbug, to prevent a retained
  dependency on gcc.
* Add a newline after `building X' in GNU Make.

svn path=/nixpkgs/trunk/; revision=911
2004-04-04 22:02:41 +00:00
Eelco Dolstra
36356d7694 * More sed breakage.
svn path=/nixpkgs/trunk/; revision=903
2004-04-01 20:36:40 +00:00
Eelco Dolstra
e50417845d * Fixed Stratego.
* Added Zoom, an interpreter for Z-Code.

svn path=/nixpkgs/trunk/; revision=894
2004-04-01 16:02:53 +00:00
Eelco Dolstra
817d1b27ef * Provide a wrapper around `aclocal' (in Automake) that automatically
adds all directories specified in `ACLOCAL_PATH' to the `aclocal'
  command line as `-I' flags.  Also, it provides a setup hook that
  adds the `.../share/aclocal' directory of every build input to
  `ACLOCAL_PATH'.

* Upgraded Libtool.

* Graphviz requires the X Athena widgets, which in turn requires the X
  miscellaneous utilities library; added those.  However it doesn't
  work yet since libXt is broken.
  

svn path=/nixpkgs/trunk/; revision=888
2004-03-31 22:47:06 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Visser
f8f9f4d12c expression for strategoxt 0.9.5
svn path=/nixpkgs/trunk/; revision=863
2004-03-28 15:52:03 +00:00
Eelco Dolstra
8c4a80b585 * Upgrade to gcc 3.3.3. Starting at 3.3.3, the gcc makefile checks
whether the system header file directory actually exists (when
  calling fixinc), so passing a non-existent directory no longer
  works.  Instead we make a empty dummy directory.

svn path=/nixpkgs/trunk/; revision=858
2004-03-27 16:35:59 +00:00
Eelco Dolstra
5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra
de13527000 * Finally got stdenv-nix-linux working again. Still not perfect,
though.
* libxml2: upgrade to latest.
* octavefront/rna: keep debug info.

svn path=/nixpkgs/trunk/; revision=830
2004-03-11 17:26:14 +00:00
Eelco Dolstra
a1b3ae0c81 * stdenv-nix-linux should more-or-less work again now.
svn path=/nixpkgs/trunk/; revision=826
2004-03-09 17:16:02 +00:00
Eelco Dolstra
ab73ec398b * Removed the old gcc.
svn path=/nixpkgs/trunk/; revision=825
2004-03-09 17:10:23 +00:00
Eelco Dolstra
946a2d4a48 * gcc-wrapper now filters out -L and -I flags referring to paths
outside the store (in pure builds).

svn path=/nixpkgs/trunk/; revision=817
2004-03-08 18:29:08 +00:00
Eelco Dolstra
ce50734cf0 * Started reorganising stdenv:
- gcc/ld-wrappers have been factored out into a separate
    derivation.  This allows a working gcc to be installed in the user
    environment.  (Previously the Nix gcc didn't work because it
    needed a whole bunch of flags to point to glibc.)
    
  - Better modularity: packages can specify hooks into the setup
    scripts.  For instance, setup no longer knows about the
    PKG_CONFIG_PATH variable; pkgconfig can set it up instead.

  - gcc not longer depends on binutils.  This simplifies the bootstrap
    process.

svn path=/nixpkgs/trunk/; revision=816
2004-03-08 16:02:46 +00:00
Eelco Dolstra
287edecf42 * Added gperf, texinfo, ncurses.
* Started moving the gcc wrapper stuff out of stdenv.
* Added octavefront and rna.

svn path=/nixpkgs/trunk/; revision=814
2004-03-05 10:13:23 +00:00
Eelco Dolstra
191a465665 * Added GHC and Helium. Note that GHC is built using a pre-built GHC
for Linux/x86, which is not pure and doesn't work on other
  platforms!

svn path=/nixpkgs/trunk/; revision=776
2004-02-12 13:18:24 +00:00
Eelco Dolstra
66c3040dbb * Semicolons at the end of an attrset are now required.
svn path=/nixpkgs/trunk/; revision=726
2004-01-29 14:28:16 +00:00
Eelco Dolstra
41c54dd4d9 * j2sdk should not refer to /tmp/j2sdk-1_4_2_03-linux-i586.bin in this
way, since it prevents store expression from being instantiated from
  all-packages-generic.nix. 

svn path=/nixpkgs/trunk/; revision=721
2004-01-26 11:05:07 +00:00
Martin Bravenboer
067726f3e2 * Added the j2sdk of Sun for Linux. Downloading this thing is
a big problem, so I decided to require to user to get the
          file and put it in some location in the file system. wget
          doesn't seem to accept the file scheme however, so I had to
          move the copying into the builder itself. The builder checks
          the md5 hash of the downloaded file. Maybe having a separate
          'fetchfile' would be useful to make a file in the outside
          world pure. I tried to add this to build-support, but this
          obviously did not work. I still committed it. Just remove it
          if you think that it sucks.

svn path=/nixpkgs/trunk/; revision=716
2004-01-24 23:46:00 +00:00
Martin Bravenboer
02a4d8ece5 Added jikes, IBM's open source java compiler.
svn path=/nixpkgs/trunk/; revision=715
2004-01-24 22:50:47 +00:00
Eelco Visser
5fb4265643 clone trunk.nix for building distribution
svn path=/nixpkgs/trunk/; revision=602
2003-12-25 12:21:41 +00:00
Eelco Visser
e2570fd7b7 built StrategoXT from subversion; not sure whether there are problems
with shared libraries.

svn path=/nixpkgs/trunk/; revision=601
2003-12-24 15:58:48 +00:00
Eelco Visser
b4ce40af2b added packages: which, libtool
aggregation in all-packages-generic: autotools
building strategoxt from svn

not complete yet since autconf cannot find libtool


svn path=/nixpkgs/trunk/; revision=596
2003-12-23 20:51:58 +00:00
Eelco Visser
e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00