diff options
author | Santiago Calcagno <santicalcagno@gmail.com> | 2020-10-04 20:50:59 +0000 |
---|---|---|
committer | Santiago Calcagno <santicalcagno@gmail.com> | 2020-10-04 20:50:59 +0000 |
commit | 104017def05448370517cd1bced7d945f60e5d71 (patch) | |
tree | 931a8475a1be47006f881bffe0fef7236096b68d /pkgs/applications/window-managers/fbpanel | |
parent | 8524c682f65036f5bdc7ec362eefb98abf87c495 (diff) |
fbpanel: fix build by adding gdk-pixbuf-xlib
Diffstat (limited to 'pkgs/applications/window-managers/fbpanel')
-rw-r--r-- | pkgs/applications/window-managers/fbpanel/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/fbpanel/default.nix b/pkgs/applications/window-managers/fbpanel/default.nix index cf45dfa86407..c44bf5f0bd88 100644 --- a/pkgs/applications/window-managers/fbpanel/default.nix +++ b/pkgs/applications/window-managers/fbpanel/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig -, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg +, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg, gdk-pixbuf, gdk-pixbuf-xlib }: stdenv.mkDerivation rec { @@ -10,10 +10,15 @@ stdenv.mkDerivation rec { sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965"; }; buildInputs = - [ pkgconfig libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg ]; + [ pkgconfig libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg gdk-pixbuf gdk-pixbuf-xlib.dev ]; preConfigure = "patchShebangs ."; + postConfigure = '' + substituteInPlace config.mk \ + --replace "CFLAGSX =" "CFLAGSX = -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0" + ''; + NIX_LDFLAGS="-lX11"; meta = with stdenv.lib; { |