1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Adding the cups lib path to ld_libraray_path for libreoffice to be able to

print with cups.

That would have been also the fix for go-oo for this problem, I think.


svn path=/nixpkgs/trunk/; revision=33112
This commit is contained in:
Lluís Batlle i Rossell 2012-03-15 16:38:24 +00:00
parent 1ebf45400a
commit 3337fa7b87

View file

@ -5,7 +5,7 @@
, icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler
, librsvg, gnome_vfs, gstreamer, gst_plugins_base, mesa
, autoconf, automake, openldap, bash
, autoconf, automake, openldap, bash, makeWrapper
, fontsConf
, langs ? [ "ca" "ru" "eo" "fr" "nl" "de" "en-GB" ]
}:
@ -89,6 +89,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do
ln -s $out/lib/libreoffice/program/$a $out/bin/$a
wrapProgram $out/bin/$a --prefix LD_LIBRARY_PATH : ${cups}/lib
done
'';
@ -146,7 +147,7 @@ stdenv.mkDerivation rec {
libXaw fontconfig libsndfile neon bison flex zip unzip gtk libmspack
getopt file jdk cairo which icu boost libXext libX11 libXtst libXi mesa
cups libXinerama openssl gperf GConf ORBit2 gnome_vfs gstreamer gst_plugins_base
ant autoconf openldap cppunit poppler librsvg automake
ant autoconf openldap cppunit poppler librsvg automake makeWrapper
];
meta = {