diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 1cc4a84193a..4a4f368e17b 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -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;