git.iko.soy/typeable/nixpkgs
on master help sign in
gtk-vnc: fix .la file
commit1baf402f8a3022b13f6082e270593b3e4b6a11c5 authorLuca Bruno <lethalman88@gmail.com> dateThu 25 Jun 2015, 15:07 (11 years ago) parent4bc436c
1 file changed+5
pkgs/tools/admin/gtk-vnc/default.nix+5
pkgs/tools/admin/gtk-vnc/default.nix+5
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
2929 makeFlags = stdenv.lib.optionalString (!enableGTK3)
3030 "CODEGENDIR=${pygobject}/share/pygobject/2.0/codegen/ DEFSDIR=${pygtk}/share/pygtk/2.0/defs/";
3131
32+ # Fix broken .la files
33+ preFixup = ''
34+ sed 's,-lgpg-error,-L${libgpgerror}/lib -lgpg-error,' -i $out/lib/*.la
35+ '';
36+
3237 meta = with stdenv.lib; {
3338 description = "A GTK VNC widget";
3439 maintainers = with maintainers; [ raskin offline ];