From 1baf402f8a3022b13f6082e270593b3e4b6a11c5 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Thu, 25 Jun 2015 15:07:16 +0200 Subject: [PATCH] gtk-vnc: fix .la file --- pkgs/tools/admin/gtk-vnc/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/admin/gtk-vnc/default.nix b/pkgs/tools/admin/gtk-vnc/default.nix index 15cb56926a8a..fddb9505c984 100644 --- a/pkgs/tools/admin/gtk-vnc/default.nix +++ b/pkgs/tools/admin/gtk-vnc/default.nix @@ -29,6 +29,11 @@ stdenv.mkDerivation rec { makeFlags = stdenv.lib.optionalString (!enableGTK3) "CODEGENDIR=${pygobject}/share/pygobject/2.0/codegen/ DEFSDIR=${pygtk}/share/pygtk/2.0/defs/"; + # Fix broken .la files + preFixup = '' + sed 's,-lgpg-error,-L${libgpgerror}/lib -lgpg-error,' -i $out/lib/*.la + ''; + meta = with stdenv.lib; { description = "A GTK VNC widget"; maintainers = with maintainers; [ raskin offline ];