nixpkgs/pkgs/tools/networking
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
..
cksfv * "." -> "source". 2005-12-05 14:11:09 +00:00
curl * A function `useDietLibC' that returns a modified stdenv that uses 2006-10-18 12:50:04 +00:00
dhcp * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
dhcp-wrapper * "." -> "source". 2005-12-05 14:11:09 +00:00
netcat * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00
openssh * Remove a bunch of unused Nix expressions. 2006-10-12 15:43:01 +00:00
p2p * Update more URLs. 2006-10-12 14:53:45 +00:00
par2cmdline * Make it easier to override parts of stdenv (like gcc or make) per 2006-06-23 20:11:36 +00:00
wget * Copy a bunch of files to nix.cs.uu.nl. 2006-10-12 13:50:54 +00:00