mirror of
https://github.com/NixOS/nixpkgs
synced 2024-10-19 03:47:13 -04:00
501ceef268
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 |
||
---|---|---|
.. | ||
alsa | ||
dietlibc | ||
e2fsprogs | ||
e2fsprogs-diet | ||
eject | ||
fuse | ||
hotplug | ||
hwdata | ||
initscripts | ||
iproute | ||
iputils | ||
kernel | ||
kernel-headers | ||
kernel-headers-cross | ||
kernelscripts | ||
klibc | ||
kudzu | ||
libselinux | ||
libsepol | ||
MAKEDEV | ||
MAKEDEV-wrapper | ||
mingetty | ||
mingetty-wrapper | ||
mkinitrd | ||
module-init-tools | ||
module-init-tools-static | ||
modutils | ||
net-tools | ||
opengl/xorg-sys | ||
ov511 | ||
pam | ||
procps | ||
qc-usb | ||
shadow | ||
squashfs | ||
sysklogd | ||
syslinux | ||
sysvinit | ||
udev | ||
usbutils | ||
util-linux | ||
util-linux-static |