nixpkgs/pkgs
Shea Levy d1662d7155 Add the replace-dependency build support function.
The use case is to do a deep replacement of a dependency without rebuilding the entire tree.
For example, suppose a security hole is found in glibc and a patch released. Ideally, you'd
just rebuild everything, but that takes time, space, and CPU that you might not have, so in
the mean time you could build a safe version of, say, firefox with:

  firefox-safe = replace-dependency { drv = firefox; old-dependency = glibc; new-dependency = patched-glibc; };

Building firefox-safe will rebuild glibc, but only do a simple copy/string replacement on all other dependencies
of firefox. On my system (MBP 13" mid-2012), after a new glibc had been build building firefox took around 11 seconds.

See the comments in the file for more details.
2013-01-11 14:42:09 -05:00
..
applications imagemagick: disable ghostscript on darwin, to make it work 2013-01-11 18:32:45 +01:00
build-support Add the replace-dependency build support function. 2013-01-11 14:42:09 -05:00
data Libertine fonts: update and cleanup. 2013-01-10 22:36:42 +01:00
desktops xfce4-notifyd: add new package 2013-01-09 18:11:20 +01:00
development Merge branch 'master' of github.com:NixOS/nixpkgs 2013-01-11 18:02:58 +01:00
games supertuxkart: updating to 0.8 2013-01-10 20:55:46 +01:00
lib chromium: Add myself to maintainers. 2013-01-10 03:33:04 +01:00
misc Wine: Update to 1.5.21 2013-01-07 01:35:58 +04:00
os-specific lxc: update to version 0.8.0 2013-01-11 15:02:21 +01:00
servers samba, imagemagick: Add missing meta info 2013-01-06 22:31:16 +01:00
shells
stdenv
test
tools graphviz: Fix compilation on darwin 2013-01-11 18:20:44 +01:00
top-level Add the replace-dependency build support function. 2013-01-11 14:42:09 -05:00