diff --git a/pkgs/desktops/gnome-2.28/default.nix b/pkgs/desktops/gnome-2.28/default.nix index 9cddb9d913d7..83bda71dc4bc 100644 --- a/pkgs/desktops/gnome-2.28/default.nix +++ b/pkgs/desktops/gnome-2.28/default.nix @@ -262,6 +262,6 @@ rec { gtkglext = import ./platform/gtkglext { inherit (pkgs) stdenv fetchurl mesa pkgconfig; - inherit (pkgs.gtkLibs) gtk; + inherit (pkgs.gtkLibs) gtk pango; }; } diff --git a/pkgs/desktops/gnome-2.28/platform/gtkglext/default.nix b/pkgs/desktops/gnome-2.28/platform/gtkglext/default.nix index 228cb8222848..2f9e268afbe2 100644 --- a/pkgs/desktops/gnome-2.28/platform/gtkglext/default.nix +++ b/pkgs/desktops/gnome-2.28/platform/gtkglext/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, pkgconfig, gtk, mesa}: +{stdenv, fetchurl, pkgconfig, gtk, mesa, pango}: stdenv.mkDerivation { name = "gtkglext-1.0.6"; @@ -6,5 +6,6 @@ stdenv.mkDerivation { url = mirror://gnome/sources/gtkglext/1.0/gtkglext-1.0.6.tar.bz2; sha256 = "1a9kpw1jx6d0dyljgv6f8kj2xdmyvrkyfds879wxk8x6n60gpcdj"; }; - buildInputs = [ pkgconfig gtk mesa ]; + NIX_LDFLAGS="-lpango-1.0 -lpangox-1.0"; + buildInputs = [ pkgconfig gtk mesa pango ]; }