diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index 3e7d349acab..8a42f18cfbb 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -2,7 +2,7 @@ source $stdenv/setup configurePhase() { cd config_office/; - ./configure; + ./configure --disable-epm --disable-odk --with-java=no --disable-cups --with-system-libs --with-system-python --disable-mozilla; } configurePhase=configurePhase; diff --git a/pkgs/applications/office/openoffice/default.nix b/pkgs/applications/office/openoffice/default.nix index a0d3aa078b7..3c71bf7352d 100644 --- a/pkgs/applications/office/openoffice/default.nix +++ b/pkgs/applications/office/openoffice/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, tcsh, cups, pam}: +{stdenv, fetchurl, pam, python, tcsh, libxslt}: stdenv.mkDerivation { name = "openoffice.org-2.0.0"; @@ -7,5 +7,5 @@ stdenv.mkDerivation { url = ftp://ftp.nluug.nl/pub/office/openoffice/stable/2.0.0/OOo_2.0.0_src.tar.gz; md5 = "a68933afc2bf432d11b2043ac99ba0aa"; }; - buildInputs = [tcsh cups pam]; + buildInputs = [pam python tcsh libxslt]; }