diff --git a/pkgs/desktops/gnome-2.28/platform/GConf/default.nix b/pkgs/desktops/gnome-2.28/platform/GConf/default.nix index e8d9dd365506..bb6cf422bf71 100644 --- a/pkgs/desktops/gnome-2.28/platform/GConf/default.nix +++ b/pkgs/desktops/gnome-2.28/platform/GConf/default.nix @@ -7,6 +7,11 @@ stdenv.mkDerivation { url = mirror://gnome/sources/GConf/2.28/GConf-2.28.0.tar.bz2; sha256 = "1j3ah0f71yv4di3fvv1aahcjvqfwsxw2m71ljbjq0apv5gzdqmyh"; }; + + preConfigure = '' + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${dbus_glib}/include/dbus-1.0 -I${policykit}/include/PolicyKit -I${glib}/include/glib-2.0" + ''; + buildInputs = [ pkgconfig glib gtk dbus_glib ORBit2 libxml2 expat policykit intltool ]; }