about summary refs log tree commit diff
path: root/pkgs/desktops/xfce
diff options
context:
space:
mode:
authorVolth <volth@webmaster.ms>2017-04-29 20:31:07 +0000
committerVolth <volth@webmaster.ms>2017-04-29 20:31:57 +0000
commit82a1c372af62209f3a4528db274945668b58edd3 (patch)
tree3fb887208cb39ed488147802f3c604a707a155a4 /pkgs/desktops/xfce
parent852813689a335399e30f83e0659666f3e312716e (diff)
downloadnixlib-82a1c372af62209f3a4528db274945668b58edd3.tar
nixlib-82a1c372af62209f3a4528db274945668b58edd3.tar.gz
nixlib-82a1c372af62209f3a4528db274945668b58edd3.tar.bz2
nixlib-82a1c372af62209f3a4528db274945668b58edd3.tar.lz
nixlib-82a1c372af62209f3a4528db274945668b58edd3.tar.xz
nixlib-82a1c372af62209f3a4528db274945668b58edd3.tar.zst
nixlib-82a1c372af62209f3a4528db274945668b58edd3.zip
xfce4-screenshooter: add glib_networking dependency
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r--pkgs/desktops/xfce/applications/xfce4-screenshooter.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
index 7e25bfa75b74..5905351e592f 100644
--- a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, pkgconfig, intltool, xfce4panel, libxfce4util, gtk, libsoup
-, exo, hicolor_icon_theme }:
+, makeWrapper, glib_networking, exo, hicolor_icon_theme }:
 
 stdenv.mkDerivation rec {
   p_name  = "xfce4-screenshooter";
@@ -13,13 +13,18 @@ stdenv.mkDerivation rec {
   name = "${p_name}-${ver_maj}.${ver_min}";
 
   nativeBuildInputs = [
-    pkgconfig intltool
+    pkgconfig intltool makeWrapper
   ];
 
   buildInputs = [
     xfce4panel libxfce4util gtk libsoup exo hicolor_icon_theme
   ];
 
+  preFixup = ''
+    wrapProgram "$out/bin/xfce4-screenshooter" \
+       --prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules"
+  '';
+
   meta = {
     homepage = http://goodies.xfce.org/projects/applications/xfce4-screenshooter;
     description = "Xfce screenshooter";