Make eclipse reusable: function of plugins to eclipse

svn path=/nixpkgs/trunk/; revision=4887
This commit is contained in:
Martin Bravenboer 2006-02-24 21:42:57 +00:00
parent 90666e6eff
commit 3b1c205843

View File

@ -2100,12 +2100,16 @@ rec {
fastStart = true;
};
eclipse = (import ../applications/editors/eclipse) {
inherit fetchurl stdenv makeWrapper jdk;
inherit (gtkLibs) gtk glib;
inherit (xlibs) libXtst;
plugins = [spoofax];
};
eclipseSpoofax =
eclipse [spoofax];
eclipse = plugins :
(import ../applications/editors/eclipse) {
inherit fetchurl stdenv makeWrapper jdk;
inherit (gtkLibs) gtk glib;
inherit (xlibs) libXtst;
inherit plugins;
};
spoofax = (import ../applications/editors/eclipse/plugins/spoofax) {
inherit fetchurl stdenv;