Commit Graph

273 Commits

Author SHA1 Message Date
Eelco Dolstra
eed02cb58f * Fix corrupt archives in cpio 2.7 when dealing with symlinks.
svn path=/nixpkgs/trunk/; revision=7143
2006-11-27 00:34:05 +00:00
Eelco Dolstra
3803cfdff2 * lhs2TeX updated to 1.11.
svn path=/nixpkgs/trunk/; revision=7055
2006-11-15 15:25:32 +00:00
Eelco Dolstra
1ace3742a3 * Fix bzip2 on cygwin.
svn path=/nixpkgs/trunk/; revision=7025
2006-11-13 23:01:35 +00:00
Eelco Dolstra
908b2bf027 * Latest cpio; fixes a problem with symlinks.
svn path=/nixpkgs/trunk/; revision=6965
2006-11-07 10:48:08 +00:00
Eelco Dolstra
c37304db96 * Oops, the bootstrap tools contained an impure gzip/gunzip.
* To prevent this kind of thing, check that all tools are statically
  linked.
* Use findutils 4.2.27, 4.2.28 doesn't build with dietlibc.

svn path=/nixpkgs/trunk/; revision=6881
2006-10-27 22:50:58 +00:00
Eelco Dolstra
de25bee83d * Of course, the latest GNU tar has the same gnulib header file shit
as coreutils.

svn path=/nixpkgs/trunk/; revision=6880
2006-10-27 20:14:19 +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
0f7883d12f * Revive the old coreutils, since coreutils 6 is broken beyond repair
with dietlibc (it does some incredibly nasty hackery with the system
  header files...).

svn path=/nixpkgs/trunk/; revision=6878
2006-10-27 19:53:23 +00:00
Eelco Dolstra
2efe6dc281 * Tsk.
svn path=/nixpkgs/trunk/; revision=6865
2006-10-26 22:30:48 +00:00
Eelco Dolstra
0b7e256162 * Hook variables in the generic builder are now executed using eval.
This has a major advantage: you can write hooks directly in Nix
  expressions.  For instance, rather than write a builder like this:

    source $stdenv/setup

    postInstall=postInstall
    postInstall() {
        ln -sf gzip $out/bin/gunzip
        ln -sf gzip $out/bin/zcat
    }

    genericBuild

  (the gzip builder), you can just add this attribute to the
  derivation:

    postInstall = "ln -sf gzip $out/bin/gunzip; ln -sf gzip $out/bin/zcat";

  and so a separate build script becomes unnecessary.  This should
  allow us to get rid of most builders in Nixpkgs.

* Allow configure and make arguments to contain whitespace.
  Previously, you could say, for instance

    configureFlags="CFLAGS=-O0"

  but not

    configureFlags="CFLAGS=-O0 -g"

  since the `-g' would be interpreted as a separate argument to
  configure.  Now you can say

    configureFlagsArray=("CFLAGS=-O0 -g")

  or similarly

    configureFlagsArray=("CFLAGS=-O0 -g" "LDFLAGS=-L/foo -L/bar")

  which does the right thing.  Idem for makeFlags, installFlags,
  checkFlags and distFlags.

  Unfortunately you can't pass arrays to Bash through the environment,
  so you can't put the array above in a Nix expression, e.g.,

    configureFlagsArray = ["CFLAGS=-O0 -g"];

  since it would just be flattened to a since string.  However, you
  can use the inline hooks described above:

    preConfigure = "configureFlagsArray=(\"CFLAGS=-O0 -g\")";


svn path=/nixpkgs/trunk/; revision=6863
2006-10-26 22:20:25 +00:00
Eelco Dolstra
45bf677dcc * Doh.
svn path=/nixpkgs/trunk/; revision=6859
2006-10-26 19:00:46 +00:00
Eelco Dolstra
29f9225a9d * Symlink gunzip, zcat.
svn path=/nixpkgs/trunk/; revision=6857
2006-10-26 14:35:57 +00:00
Eelco Dolstra
7d5de08c1c * More simplification.
svn path=/nixpkgs/trunk/; revision=6838
2006-10-24 23:07:37 +00:00
Eelco Dolstra
66fb5088c5 * Doh.
svn path=/nixpkgs/trunk/; revision=6837
2006-10-24 23:05:53 +00:00
Eelco Dolstra
4d3059721d * bash 2.0, findutils 4.2.28.
* Some Nix expression simplifications.  Sense and simplicity!

svn path=/nixpkgs/trunk/; revision=6836
2006-10-24 23:05:12 +00:00
Eelco Dolstra
f86c11815f * Use coreutils 6.4; the dietlibc patch has been merged.
svn path=/nixpkgs/trunk/; revision=6835
2006-10-24 22:49:08 +00:00
Eelco Dolstra
de70885cfc * No longer needed.
svn path=/nixpkgs/trunk/; revision=6834
2006-10-24 22:41:38 +00:00
Eelco Dolstra
97a65f81b2 * Unify the bzip2 builders.
svn path=/nixpkgs/trunk/; revision=6833
2006-10-24 22:40:33 +00:00
Eelco Dolstra
5f4f8766cf * GNU tar 1.16.
svn path=/nixpkgs/trunk/; revision=6822
2006-10-24 17:24:46 +00:00
Eelco Dolstra
3d2e573eff * GNU sed 4.1.5 compiled with dietlibc gives "Memory exhausted" errors
on trivial patterns, so use an older sed instead (4.1.2).  See
  http://linuxfromscratch.org/pipermail/hlfs-dev/2005-September/002447.html.

svn path=/nixpkgs/trunk/; revision=6792
2006-10-20 20:05:26 +00:00
Eelco Dolstra
65bbb45ab7 * Add findutils to the bootstrap tools.
svn path=/nixpkgs/trunk/; revision=6791
2006-10-20 16:01:38 +00:00
Eelco Dolstra
884e8571c3 * Add grep.
svn path=/nixpkgs/trunk/; revision=6783
2006-10-19 22:47:51 +00:00
Eelco Dolstra
1acd2157cc * Add patch, sed.
svn path=/nixpkgs/trunk/; revision=6782
2006-10-19 22:31:08 +00:00
Eelco Dolstra
c6ecc900cf * Add more stuff to the bootstrap builder.
* Remove some redundant *Diet values in all-packages.nix.

svn path=/nixpkgs/trunk/; revision=6780
2006-10-19 21:36:51 +00:00
Eelco Dolstra
ce22859f8a * Bash on dietlibc.
* Pass -D_BSD_SOURCE=1 by default in the dietlibc stdenv.

svn path=/nixpkgs/trunk/; revision=6768
2006-10-18 16:16:07 +00:00
Eelco Dolstra
f3619824a9 * bzip2 with dietlibc.
svn path=/nixpkgs/trunk/; revision=6767
2006-10-18 15:49:47 +00:00
Eelco Dolstra
efc2b12da5 * A better patch.
svn path=/nixpkgs/trunk/; revision=6766
2006-10-18 15:26:48 +00:00
Eelco Dolstra
6ff020ad3a * Build coreutils on dietlibc.
svn path=/nixpkgs/trunk/; revision=6765
2006-10-18 15:16:53 +00:00
Eelco Dolstra
501ceef268 * A function `useDietLibC' that returns a modified stdenv that uses
dietlibc to produce small, statically linked binaries.  This stdenv
  also passes `-Os' to GCC automatically to optimise for size.  It
  also tries to prevent builders from linking against dynamic
  libraries (which dietlibc doesn't support).

* A function `addAttrsToDerivation' that returns a modified stdenv
  that always adds the specified attributes to the derivations that it
  produces.  Example (from curl):

    curlDiet =  import ../tools/networking/curl {
      inherit fetchurl zlib;
      stdenv = addAttrsToDerivation {
        CFLAGS = "-DHAVE_INET_NTOA_R_2_ARGS=1";
      } (useDietLibC stdenv);
    };

  (This is needed to get curl to build with dietlibc.  Also note the
  stacking of stdenv-modifying functions.)

* curl-diet: no longer necessary.

svn path=/nixpkgs/trunk/; revision=6761
2006-10-18 12:50:04 +00:00
Eelco Dolstra
8e08738756 * More URLs.
svn path=/nixpkgs/trunk/; revision=6718
2006-10-12 15:58:51 +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
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
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra
67c581cdcc * Updated Pango, Cairo, Zip.
svn path=/nixpkgs/trunk/; revision=6697
2006-10-11 13:19:36 +00:00
Armijn Hemel
0ec7b4988f add coreutils-6.3, not the default, wait until more stdenv packages need updating
svn path=/nixpkgs/trunk/; revision=6646
2006-10-02 21:43:27 +00:00
Armijn Hemel
193edaab22 7.15.4 -> 7.15.5
svn path=/nixpkgs/trunk/; revision=6243
2006-08-25 21:01:42 +00:00
Armijn Hemel
3402fe7c80 new curl
svn path=/nixpkgs/trunk/; revision=6241
2006-08-25 20:38:30 +00:00
Armijn Hemel
3580697f20 add ploticus, yet another graphics program
svn path=/nixpkgs/trunk/; revision=6214
2006-08-23 16:09:03 +00:00
Eelco Dolstra
bb53e3df6d * gnupg: use readline.
svn path=/nixpkgs/trunk/; revision=6198
2006-08-21 10:38:02 +00:00
Eelco Dolstra
0412dcc14c * Latest GnuPG.
svn path=/nixpkgs/trunk/; revision=6177
2006-08-18 09:31:45 +00:00
Eelco Dolstra
3fd8841922 * GNU Netcat.
svn path=/nixpkgs/trunk/; revision=6120
2006-08-15 13:22:45 +00:00
Eelco Dolstra
38ee361757 * Backout accidental commit.
svn path=/nixpkgs/trunk/; revision=6088
2006-08-09 15:49:02 +00:00
Eelco Dolstra
bf1e734f85 * Don't use the subpath operator (~) anymore, it's subsumed by normal
concatenation (+).

svn path=/nixpkgs/trunk/; revision=6080
2006-08-09 15:05:30 +00:00
Armijn Hemel
7154adfa34 new version of ISC dhcpd
svn path=/nixpkgs/trunk/; revision=6074
2006-08-08 17:50:16 +00:00
Armijn Hemel
e0758ef36a grub needs coreutils (for df and uniq)
svn path=/nixpkgs/trunk/; revision=6062
2006-08-06 23:53:48 +00:00
Armijn Hemel
0d685d9ebe move NIX_GLIBC_FLAGS_SET=1 to the dietlibc-wrapper
svn path=/nixpkgs/trunk/; revision=5992
2006-07-30 17:07:15 +00:00
Armijn Hemel
0d620b8890 1.4.2.2 -> 1.4.4
svn path=/nixpkgs/trunk/; revision=5878
2006-07-22 22:31:45 +00:00
Martin Bravenboer
69da897d0b Oops
svn path=/nixpkgs/trunk/; revision=5753
2006-07-17 20:42:44 +00:00
Martin Bravenboer
c79c39f61f Problems with darwinports host. Added patches here.
svn path=/nixpkgs/trunk/; revision=5752
2006-07-17 20:41:15 +00:00
Martin Bravenboer
bb3cfbe2a3 Added transfig, opefully the ugliest package of this world
svn path=/nixpkgs/trunk/; revision=5751
2006-07-17 20:35:02 +00:00
Eelco Dolstra
fbf526d408 * Use stdenv.isDarwin.
svn path=/nixpkgs/trunk/; revision=5728
2006-07-17 11:07:32 +00:00
Eelco Dolstra
2881391565 * Fix GNU patch on Darwin (and probably FreeBSD as well).
svn path=/nixpkgs/trunk/; revision=5705
2006-07-14 11:20:30 +00:00
Eelco Dolstra
ea2da73c8d * Doh! Idem.
svn path=/nixpkgs/trunk/; revision=5704
2006-07-14 10:59:14 +00:00
Eelco Dolstra
f9a32684d2 * Workaround for silly sed problem.
svn path=/nixpkgs/trunk/; revision=5703
2006-07-14 10:58:46 +00:00
Eelco Dolstra
05094496b4 * TightVNC.
svn path=/nixpkgs/trunk/; revision=5698
2006-07-13 14:54:24 +00:00
Armijn Hemel
53d9e09d0d update to 7.15.4
svn path=/nixpkgs/trunk/; revision=5674
2006-07-10 18:22:50 +00:00
Armijn Hemel
1477b909f9 upgrade from 4.13 -> 4.17
svn path=/nixpkgs/trunk/; revision=5622
2006-07-06 18:15:07 +00:00
Armijn Hemel
c1afbc0f77 screen uses the generic builder
svn path=/nixpkgs/trunk/; revision=5621
2006-07-06 18:12:00 +00:00
Armijn Hemel
4812209ebe upgrade to new version
svn path=/nixpkgs/trunk/; revision=5620
2006-07-06 18:05:40 +00:00
Armijn Hemel
976b5ad98e add new version of getopt, but don't make it the default (that would cause sdf
to rebuild, and stratego, and ...)

svn path=/nixpkgs/trunk/; revision=5619
2006-07-06 17:55:41 +00:00
Eelco Dolstra
e410c935a1 * Treat i686-darwin as powerpc-darwin.
svn path=/nixpkgs/trunk/; revision=5604
2006-07-06 09:30:40 +00:00
Armijn Hemel
2389b06fe7 add openssh 4.3p2
svn path=/nixpkgs/trunk/; revision=5595
2006-07-05 16:09:43 +00:00
Eelco Dolstra
6da726d56e * Trang (tool for converting to and from RelaxNG schemas).
svn path=/nixpkgs/trunk/; revision=5579
2006-07-04 19:17:34 +00:00
Armijn Hemel
cb66528886 mktemp uses the generic builder, so the builder can be removed
svn path=/nixpkgs/trunk/; revision=5560
2006-07-02 22:42:33 +00:00
Armijn Hemel
cbd254fd10 update to new less, remove builder, since it was just a generic build
svn path=/nixpkgs/trunk/; revision=5536
2006-06-29 11:44:12 +00:00
Armijn Hemel
f590067ee0 new autoconf, gettext and coreutils. Tested to build in work in NixOS.
svn path=/nixpkgs/trunk/; revision=5532
2006-06-28 21:35:37 +00:00
Armijn Hemel
c21a8b1492 cosmetic fix
svn path=/nixpkgs/trunk/; revision=5518
2006-06-24 17:29:14 +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
423af3206e * groff updated to 1.19.2.
svn path=/nixpkgs/trunk/; revision=5494
2006-06-23 10:52:12 +00:00
Armijn Hemel
e738411d7c update wget to 1.10.2, has extra gettext dependency
svn path=/nixpkgs/trunk/; revision=5471
2006-06-18 16:01:28 +00:00
Armijn Hemel
a33dc947c6 disable local build of pangoxsl, add patch to remove "pangoxsl" from SUBDIRS,
otherwise it will still try to build the local pangoxsl (and fail)

svn path=/nixpkgs/trunk/; revision=5468
2006-06-18 11:58:00 +00:00
Armijn Hemel
3d789d45dc new version of parted
svn path=/nixpkgs/trunk/; revision=5461
2006-06-17 12:21:12 +00:00
Armijn Hemel
42c5136265 new coreutils
svn path=/nixpkgs/trunk/; revision=5460
2006-06-17 11:58:14 +00:00
Armijn Hemel
809f592e0a new version of curl
svn path=/nixpkgs/trunk/; revision=5459
2006-06-17 11:51:46 +00:00
Eelco Dolstra
8554e01d2b * Added cabextract. Might be useful for adding Visual C++.
svn path=/nixpkgs/trunk/; revision=5368
2006-06-01 21:25:40 +00:00
Eelco Dolstra
46a15b49a0 * Ugh, bzip2 should be autotooled...
svn path=/nixpkgs/trunk/; revision=5357
2006-05-31 15:07:56 +00:00
Eelco Dolstra
4acfb1a684 * More examples of interpolation.
svn path=/nixpkgs/trunk/; revision=5244
2006-05-01 15:25:17 +00:00
Eelco Dolstra
cce11c4f1f * Added gtk-gnutella.
* Added a patch to MPlayer to fix the aspect ratio on screens rotated
  with Xrandr.
* Disable toolbus for now because it requires a non-existant package
  (tcltk).

svn path=/nixpkgs/trunk/; revision=5171
2006-04-18 18:46:36 +00:00
Eelco Dolstra
57c5067b07 * Refactoring.
svn path=/nixpkgs/trunk/; revision=5149
2006-04-10 17:49:24 +00:00
Roy van den Broek
9d27c94bda Pass the path to OpenSSL to the `--with-ssl' configure flag when building
with SSL support.


svn path=/nixpkgs/trunk/; revision=5144
2006-04-05 09:08:43 +00:00
Eelco Dolstra
77d7e2ea95 * That's a SHA-1 hash.
svn path=/nixpkgs/trunk/; revision=5081
2006-03-23 12:53:05 +00:00
Eelco Dolstra
bfa6f51e30 * GnuPG updated to 1.4.2.2.
svn path=/nixpkgs/trunk/; revision=5080
2006-03-23 10:22:18 +00:00
Armijn Hemel
12a23295d5 and update gnused again to 4.1.5...build buildfarm, build! >:)
svn path=/nixpkgs/trunk/; revision=4862
2006-02-19 14:00:17 +00:00
Armijn Hemel
ef92af7139 update findutils to 4.2.27
svn path=/nixpkgs/trunk/; revision=4861
2006-02-19 13:57:56 +00:00
Armijn Hemel
f05a25f5f5 coreutils-5.94
svn path=/nixpkgs/trunk/; revision=4860
2006-02-19 13:51:40 +00:00
Eelco Dolstra
a276487772 * Doh!
svn path=/nixpkgs/trunk/; revision=4739
2006-02-06 12:48:07 +00:00
Eelco Dolstra
e12399051a * Grmbl.
svn path=/nixpkgs/trunk/; revision=4738
2006-02-06 12:44:34 +00:00
Eelco Dolstra
4d91fa9c45 * Quick hack to get bzip2 to build on Darwin.
svn path=/nixpkgs/trunk/; revision=4737
2006-02-06 12:29:36 +00:00
Martin Bravenboer
5472ca11e8 Revert sed update
svn path=/nixpkgs/trunk/; revision=4723
2006-02-05 01:55:03 +00:00
Armijn Hemel
8ec9843f24 update to sed 4.1.5
svn path=/nixpkgs/trunk/; revision=4721
2006-02-05 01:08:08 +00:00
Eelco Dolstra
e761659405 * Bittorrent 4.4.0.
svn path=/nixpkgs/trunk/; revision=4672
2006-02-02 12:57:48 +00:00
Eelco Dolstra
9f898a586b * Copy even more files (in particular from losser.st-lab.cs.uu.nl,
can't assume that it will live forever).

svn path=/nixpkgs/trunk/; revision=4624
2006-01-30 16:11:00 +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
Eelco Dolstra
53c56afcfe * Fix some broken URLs.
svn path=/nixpkgs/trunk/; revision=4622
2006-01-30 15:52:15 +00:00
Andres Löh
719217d77a * modified tetex to support extra .sty's from other packages
* added lazylist and polytable (both tetex packages)
* added lhs2tex ebuild, depending on the two above

svn path=/nixpkgs/trunk/; revision=4609
2006-01-27 20:51:41 +00:00
Armijn Hemel
6a42433ee4 make X forwarding optional. If enabled "xauth" is a dependency
svn path=/nixpkgs/trunk/; revision=4573
2006-01-17 18:48:18 +00:00
Armijn Hemel
c055bf8adf fix findutils wrapper:
- add symlinks to find and xargs
- set LOCATE_PATH for locate

svn path=/nixpkgs/trunk/; revision=4544
2006-01-13 19:35:32 +00:00
Armijn Hemel
dde6370c2a add a statically linked bzip2. This is the last of the tools we need for a fullystatic initial stdenv...
svn path=/nixpkgs/trunk/; revision=4477
2006-01-01 13:34:35 +00:00
Armijn Hemel
796636040a static diffutils for initial stdenv
svn path=/nixpkgs/trunk/; revision=4445
2005-12-27 10:39:20 +00:00