about summary refs log tree commit diff
path: root/pkgs/applications/office/gnucash
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-07-10 13:34:56 +0000
committerPeter Simons <simons@cryp.to>2011-07-10 13:34:56 +0000
commit4cf494c8ff0493040c1499df3c75b056daabdb67 (patch)
tree550c20221f7e875dc52d5474e3865e0a715dc43d /pkgs/applications/office/gnucash
parent5fd662e2e936b6bee49815971bb6fbcab39be06c (diff)
downloadnixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar.gz
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar.bz2
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar.lz
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar.xz
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.tar.zst
nixlib-4cf494c8ff0493040c1499df3c75b056daabdb67.zip
gnucash: set RPATH so that GnuCash binaries can find its GNOME libraries at run-time
svn path=/nixpkgs/trunk/; revision=27689
Diffstat (limited to 'pkgs/applications/office/gnucash')
-rw-r--r--pkgs/applications/office/gnucash/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix
index 9a25b51f8f0c..880c749ea446 100644
--- a/pkgs/applications/office/gnucash/default.nix
+++ b/pkgs/applications/office/gnucash/default.nix
@@ -1,5 +1,5 @@
 { fetchurl, stdenv, pkgconfig, libxml2, gconf, glib, gtk
-, libglade, libgnomeui, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant
+, libbonoboui, libgnomeui, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant
 , gettext, intltool, perl, guile, slibGuile, swig, isocodes, bzip2
 , makeWrapper }:
 
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
 
   buildInputs = [
     pkgconfig libxml2 gconf glib gtk
-    libglade libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant
+    libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant
     gettext intltool perl guile slibGuile swig isocodes bzip2 makeWrapper
   ];
 
@@ -39,6 +39,8 @@ stdenv.mkDerivation {
        --enable-python-bindings  enable python bindings
    */
 
+  NIX_LDFLAGS = "-rpath=${libgnomeui}/lib/libglade/2.0 -rpath=${libbonoboui}/lib/libglade/2.0 -rpath=${guile}/lib";
+
   postInstall = ''
     for prog in "$out/bin/"*
     do