Fix uzbl build, although in a bit hacky way

svn path=/nixpkgs/trunk/; revision=16832
This commit is contained in:
Michael Raskin 2009-08-24 13:05:19 +00:00
parent e0bfd8d7e7
commit bdf2bb0bf5
2 changed files with 9 additions and 2 deletions

View file

@ -4,7 +4,7 @@ let
version = a.lib.attrByPath ["version"] "2009.08.08" a;
buildInputs = with a; [
pkgconfig webkit libsoup gtk makeWrapper
libsoup pkgconfig webkit gtk makeWrapper
];
in
rec {
@ -18,7 +18,10 @@ rec {
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doMakeInstall" "doWrap"];
phaseNames = ["addInputs" "setVars" "doMakeInstall" "doWrap"];
setVars = a.noDepEntry (''
'');
doWrap = a.makeManyWrappers "$out/bin/uzbl"
''
@ -29,6 +32,9 @@ rec {
'';
installFlags = "PREFIX=$out";
makeFlags = [
"CC='gcc ${a.glib}/lib/libglib-2.0.so ${a.glib}/lib/libgio-2.0.so ${a.glib}/lib/libgobject-2.0.so' "
];
name = "uzbl-" + version;
meta = {

View file

@ -7211,6 +7211,7 @@ let
inherit pkgconfig webkit makeWrapper;
inherit (gtkLibs) gtk;
libsoup = gnome26.libsoup_git_head;
glib = gtkLibs.glib_2_21;
};
valknut = import ../applications/networking/p2p/valknut {