From 4f4d2295fbf8d096c1b4f4bf3fed023829fa2d07 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 22 Aug 2019 17:14:37 -0400 Subject: [PATCH] gtk-vnc: fixups --- pkgs/tools/admin/gtk-vnc/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/admin/gtk-vnc/default.nix b/pkgs/tools/admin/gtk-vnc/default.nix index 2201020c159e..37a27127bab0 100644 --- a/pkgs/tools/admin/gtk-vnc/default.nix +++ b/pkgs/tools/admin/gtk-vnc/default.nix @@ -16,6 +16,8 @@ , gettext , perl , gnome3 +, gdk-pixbuf +, zlib }: stdenv.mkDerivation rec { @@ -30,6 +32,7 @@ stdenv.mkDerivation rec { }; patches = [ + # Fix undeclared gio-unix-2.0 in example program. (fetchpatch { url = "https://gitlab.gnome.org/GNOME/gtk-vnc/commit/8588bc1c8321152ddc5086ca9b2c03a7f511e0d0.patch"; sha256 = "0i1iapsbngl1mhnz22dd73mnzk68qc4n51pqdhnm18zqc8pawvh4"; @@ -49,6 +52,8 @@ stdenv.mkDerivation rec { buildInputs = [ gnutls cairo + gdk-pixbuf + zlib glib libgcrypt cyrus_sasl @@ -58,7 +63,7 @@ stdenv.mkDerivation rec { passthru = { updateScript = gnome3.updateScript { - packageName = "gtk-vnc"; + packageName = pname; versionPolicy = "none"; }; };