From dc5a3adf5f6897e96e171d4da1a177d7108883a4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 18 Jul 2011 12:39:11 +0000 Subject: [PATCH] * Use callPackage. svn path=/nixpkgs/trunk/; revision=27820 --- pkgs/top-level/all-packages.nix | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b1102aec3b69..1d7d02dddff2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6314,20 +6314,14 @@ let flashplayer = flashplayer10; - flashplayer9 = ( - import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 { - inherit fetchurl stdenv zlib alsaLib nss nspr fontconfig freetype expat; - inherit (xlibs) libX11 libXext libXrender libXt; - inherit (gtkLibs) gtk glib pango atk; - }); + flashplayer9 = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-9 { + inherit (gtkLibs) atk; + }; - flashplayer10 = ( - import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 { - inherit fetchurl stdenv zlib alsaLib curl nss nspr fontconfig freetype expat cairo; - inherit (xlibs) libX11 libXext libXrender libXt ; - inherit (gtkLibs) gtk glib pango atk gdk_pixbuf; - debug = getConfig ["flashplayer" "debug"] false; - }); + flashplayer10 = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-10 { + inherit (gtkLibs) atk gdk_pixbuf; + debug = getConfig ["flashplayer" "debug"] false; + }; freecad = callPackage ../applications/graphics/freecad { boost = boost146;