summary refs log tree commit diff
path: root/pkgs/applications/office/gnucash/2.6.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-03-31 18:59:36 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-03-31 18:59:36 +0200
commit0689ff157484409ee11d0b7481b1e14623f4bdda (patch)
tree3a338585a7e8f877078f826f4dc598ec9dee871c /pkgs/applications/office/gnucash/2.6.nix
parent0276a8b2d2fbb3b69b320530cbe4a5379751bec5 (diff)
downloadnixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar.gz
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar.bz2
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar.lz
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar.xz
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.tar.zst
nixpkgs-0689ff157484409ee11d0b7481b1e14623f4bdda.zip
gnucash-2.6: hack around test failures
They were most likely triggered by #909.
Tested only against 16.03 due to webkitgtk problems on master.
Diffstat (limited to 'pkgs/applications/office/gnucash/2.6.nix')
-rw-r--r--pkgs/applications/office/gnucash/2.6.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/office/gnucash/2.6.nix b/pkgs/applications/office/gnucash/2.6.nix
index 3c2348bfa8b..844ef927708 100644
--- a/pkgs/applications/office/gnucash/2.6.nix
+++ b/pkgs/applications/office/gnucash/2.6.nix
@@ -2,6 +2,7 @@
 , intltool, glib, gtk, libofx, aqbanking, gwenhywfar, libgnomecanvas, goffice
 , webkit, glibcLocales, gsettings_desktop_schemas, makeWrapper, dconf, file
 , gettext, swig, slibGuile, enchant, bzip2, isocodes, libdbi, libdbiDrivers
+, pango, gdk_pixbuf
 }:
 
 /*
@@ -78,7 +79,7 @@ stdenv.mkDerivation rec {
   '';
 
   # The following settings fix failures in the test suite. It's not required otherwise.
-  NIX_LDFLAGS = "-rpath=${guile}/lib -rpath=${glib}/lib";
+  LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ guile glib gtk pango gdk_pixbuf ];
   preCheck = "export GNC_DOT_DIR=$PWD/dot-gnucash";
   doCheck = true;