From 7b2aab384639fdc00c5ebb546f8486bf3f57ee2a Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 5 Nov 2007 09:40:52 +0000 Subject: [PATCH] Fixed compiz_062 svn path=/nixpkgs/trunk/; revision=9582 --- pkgs/top-level/all-packages.nix | 17 +++-------------- pkgs/top-level/builder-defs.nix | 4 ++-- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 853c917524bf..0032f60d69c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3441,20 +3441,9 @@ rec { inherit librsvg fuse; }; - compiz_062 = assert mesaSupported; import ../applications/window-managers/compiz/0.6.2.nix { - inherit lib builderDefs stringsWithDeps; - inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt; - inherit (xorg) libXcomposite libXfixes libXdamage libXrandr - libXinerama libICE libSM libXrender xextproto; - inherit (gnome) startupnotification libwnck GConf; - inherit (gtkLibs) gtk; - inherit (gnome) libgnome libgnomeui metacity - glib pango libglade libgtkhtml gtkhtml - libgnomecanvas libgnomeprint - libgnomeprintui gnomepanel; - gnomegtk = gnome.gtk; - inherit librsvg fuse; - }; + compiz_062 = compizFun { + version = "0.6.2"; + }; compizFun = lib.sumArgs (assert mesaSupported; import ../applications/window-managers/compiz) { inherit lib builderDefs stringsWithDeps; diff --git a/pkgs/top-level/builder-defs.nix b/pkgs/top-level/builder-defs.nix index 33ccc6249d49..8aef5f7846d4 100644 --- a/pkgs/top-level/builder-defs.nix +++ b/pkgs/top-level/builder-defs.nix @@ -203,8 +203,8 @@ rec echo '${toString (getAttr ["propagatedBuildInputs"] [] args)}' >\$out/nix-support/propagated-build-inputs ") [minInit defEnsureDir]; - debug = x:(__trace x x); - debugX = x:(__trace (__toXML x) x); + /*debug = x:(__trace x x); + debugX = x:(__trace (__toXML x) x);*/ replaceScriptVar = file: name: value: ("sed -e 's`^${name}=.*`${name}='\\''${value}'\\''`' -i ${file}"); replaceInScript = file: l: (concatStringsSep "\n" ((pairMap (replaceScriptVar file) l)));