[Nix-dev] Eclipse

Bjørn Forsman bjorn.forsman at gmail.com
Thu Aug 25 07:49:36 CEST 2016


On 25 August 2016 at 02:05, Tim Barbour <trb at categorical.net> wrote:
> What is the recommended way to run Eclipse on Nixos ?
>
> When I install a Nixos eclipse package (e.g. eclipse-cpp), I find that it
> cannot install plugins in the normal way, because the plugin installation
> process tries to modify the Nix store.

Hm, I thought that would work (mixing declarative and impure plugin
install...). Oh well.

> I would like to be able to run Eclipse with i.a. the GNU ARM plugin...

Try this:

    (eclipses.eclipseWithPlugins {
      eclipse = eclipses.eclipse-cpp-45;
      jvmArgs = [ "-Xmx2048m" ];
      plugins = with eclipses.plugins;
        [ cdt gnuarmeclipse ];
    })

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list