From 24661f4c45c2551bd0102ec1218742fa0cdb8ef2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 20 Oct 2009 10:33:38 +0000 Subject: [PATCH] svn path=/nixpkgs/trunk/; revision=17892 --- pkgs/applications/office/scribus/default.nix | 25 ++++++++++---------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/office/scribus/default.nix b/pkgs/applications/office/scribus/default.nix index 768e3edddcd..213d3b7ab9b 100644 --- a/pkgs/applications/office/scribus/default.nix +++ b/pkgs/applications/office/scribus/default.nix @@ -1,6 +1,6 @@ args: with args; -assert stdenv.gcc ? gcc; +assert stdenv.gcc.gcc != null; # NOTE: ! If Scribus doesn't render text try another font. @@ -31,11 +31,12 @@ stdenv.mkDerivation { set +x ''; - buildInputs = [ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt - python cups fontconfig - libXaw libXext libX11 libXtst libXi libXinerama - libjpeg libtiff zlib libpng - ] ++ (if useCairo then [cairo] else []); + buildInputs = + [ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt + python cups fontconfig + libXaw libXext libX11 libXtst libXi libXinerama + libjpeg libtiff zlib libpng + ] ++ lib.optional useCairo cairo; # fix rpath which is removed by cmake.. postFixup = '' @@ -47,11 +48,11 @@ stdenv.mkDerivation { ''; meta = { - maintainers = [lib.maintainers.marcweber]; - platforms = lib.platforms.linux; - description = "Desktop Publishing (DTP) and Layout program for Linux."; - homepage = http://www.scribus.net; - license = "GPLv2"; - }; + maintainers = [lib.maintainers.marcweber]; + platforms = lib.platforms.linux; + description = "Desktop Publishing (DTP) and Layout program for Linux."; + homepage = http://www.scribus.net; + license = "GPLv2"; + }; }