From 992045830eb90518634b1a49cab448af3460e34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 28 Jul 2009 12:02:51 +0000 Subject: [PATCH] GCJ 4.4: Require various X libraries. svn path=/nixpkgs/trunk/; revision=16492 --- pkgs/development/compilers/gcc-4.4/default.nix | 8 +++++--- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.4/default.nix b/pkgs/development/compilers/gcc-4.4/default.nix index 347ef8a72bd..ed33c5ded07 100644 --- a/pkgs/development/compilers/gcc-4.4/default.nix +++ b/pkgs/development/compilers/gcc-4.4/default.nix @@ -9,7 +9,7 @@ , bison ? null, flex ? null , zlib ? null, boehmgc ? null , zip ? null, unzip ? null, pkgconfig ? null, gtk ? null, libart_lgpl ? null -, libXtst ? null +, libX11 ? null, libSM ? null, libICE ? null, libXtst ? null , enableMultilib ? false , name ? "gcc" }: @@ -17,7 +17,8 @@ assert langTreelang -> bison != null && flex != null; assert langJava -> zip != null && unzip != null; assert gtk != null -> pkgconfig != null && libart_lgpl != null - && libXtst != null; + && libX11 != null && libSM != null + && libICE != null && libXtst != null; with stdenv.lib; @@ -73,7 +74,8 @@ stdenv.mkDerivation ({ ++ (optional (zlib != null) zlib) ++ (optional (boehmgc != null) boehmgc) ++ (optionals langJava [zip unzip]) - ++ (optionals (gtk != null) [gtk pkgconfig libart_lgpl libXtst]) + ++ (optionals (gtk != null) + [gtk pkgconfig libart_lgpl libX11 libSM libICE libXtst]) ; configureFlags = " diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1e7af99753..aff04a95603 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1736,7 +1736,7 @@ let inherit zip unzip zlib boehmgc gettext pkgconfig; inherit (gtkLibs) gtk; inherit (gnome) libart_lgpl; - inherit (xlibs) libXtst; + inherit (xlibs) libX11 libSM libICE libXtst; }); #ghc = haskellPackages.ghc;