A case study in transitive overrides. WebKit needs fresh glib. This means it needs a whole slice of system built against glib-2.22.. Added overrides are generic enough, though. So the same way can be used to override everything. I have failed (so far?) to add mkOverridable into stdenv, though.

svn path=/nixpkgs/trunk/; revision=17661
This commit is contained in:
Michael Raskin
2009-10-06 05:43:51 +00:00
parent 3c9c17990e
commit edbbddce1d
15 changed files with 66 additions and 50 deletions

View File

@@ -1,29 +1,29 @@
args: with args;
rec {
gstreamer = import ./gstreamer {
gstreamer = makeOverridable (import ./gstreamer) {
inherit (args) fetchurl stdenv perl bison flex
pkgconfig python which gtkdoc glib libxml2;
};
gstPluginsBase = import ./gst-plugins-base {
gstPluginsBase = makeOverridable (import ./gst-plugins-base) {
inherit gstreamer;
inherit (args) fetchurl stdenv pkgconfig python
libX11 libXv libXext alsaLib cdparanoia libogg libtheora
libvorbis freetype pango liboil gtk which gtkdoc;
};
gstPluginsGood = import ./gst-plugins-good {
gstPluginsGood = makeOverridable (import ./gst-plugins-good) {
inherit gstPluginsBase;
inherit (args) fetchurl stdenv pkgconfig aalib cairo flac hal
libjpeg zlib speex libpng libdv libcaca dbus libiec61883
libavc1394 ladspaH taglib gdbm pulseaudio libsoup;
};
gstFfmpeg = import ./gst-ffmpeg {
gstFfmpeg = makeOverridable (import ./gst-ffmpeg) {
inherit fetchurl stdenv pkgconfig gstPluginsBase bzip2;
};
gnonlin = import ./gnonlin {
gnonlin = makeOverridable (import ./gnonlin) {
inherit fetchurl stdenv pkgconfig gstreamer gstPluginsBase;
};
}