nixpkgs-suyu/pkgs/tools
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
..
admin/tightvnc * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
archivers * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
compression * Use stdenv.isDarwin. 2006-07-17 11:07:32 +00:00
graphics * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
misc * Remove a bunch of unused Nix expressions. 2006-10-12 15:43:01 +00:00
networking * A function `useDietLibC' that returns a modified stdenv that uses 2006-10-18 12:50:04 +00:00
security * More URLs. 2006-10-12 15:58:51 +00:00
system/which * Glibc 2.3.6. 2005-12-06 00:12:45 +00:00
text * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
typesetting * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
video/mjpegtools * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl. 2005-08-22 08:39:27 +00:00
X11/xauth * Copy even more files (in particular from losser.st-lab.cs.uu.nl, 2006-01-30 16:11:00 +00:00