[Nix-dev] Eclipse packaging
Sander van der Burg - EWI
S.vanderBurg at tudelft.nl
Tue Nov 3 16:03:51 CET 2009
I removed the comments of my eclipse package in all-packages.nix for the following reasons:
- I'd like to have Eclipse installed when I type nix-env -i, I don't want to download it myself and put it in my HOME dir. That's where we have the Nix package manager for, right?
- Actually, you can use the Eclipse updater when you want to install plugins this way. I just did it myself by downloading the Eclipse PHP development tools and they seem to work fine. The plugins are saved in my workspace and it works.
- My eclipse package integrates nicely in the KDE application menu.
I also have some ideas to support plugins through using Nix expressions which I preferably want to use in the future. Basically the approach I have in mind consists of unpacking ZIP files in the dropins/ folder of eclipse. This directory location can also be changed at runtime. I'll look into this in the future.
-----Original Message-----
From: nix-dev-bounces at cs.uu.nl on behalf of Marc Weber
Sent: Tue 11/3/2009 3:50 PM
To: nix-dev
Subject: Re: [Nix-dev] Eclipse packaging
Hi Ludo,
You found it so it works pretty well :-)
So what's your problem with this "package" ?
What are you missing ?
Marc Weber
Excerpts from ludo's message of Tue Nov 03 12:18:12 +0100 2009:
> Hello Nixers!
>
> Sander van der Burg <S.vanderBurg at tudelft.nl> writes:
>
> > You can view the changes in this commit at:
> > https://svn.nixos.org/viewvc/nix?rev=18074&view=rev
> >
> > Modified:
> > nixpkgs/trunk/pkgs/applications/editors/eclipse-classic/default.nix
> > nixpkgs/trunk/pkgs/top-level/all-packages.nix
> >
> > Log:
> > Enabled my eclipse package again, since I want to have eclipse installed when typing nix-env -i. BTW. the eclipse plugins can be installed this way either
>
> [...]
>
> > + eclipseNewer = import ../applications/editors/eclipse-classic {
> > + inherit stdenv fetchurl patchelf makeDesktopItem freetype fontconfig jre;
> > + inherit (gtkLibs) glib gtk;
> > + inherit (xlibs) libX11 libXext libXrender libXtst;
> > + };
> > +
> > /* commenting out eclipse - Have a look at eclipseRunner - Marc Weber
> >
> > Reason: You can get Eclipse in many prepacked variations on eclipse.org
>
> I *think* this calls for more coordination among the Eclipse nixers.
> Another example of misusing the VCS logs and 'all-packages.nix' as a
> communication means. :-)
>
> Thanks,
> Ludo'.
_______________________________________________
nix-dev mailing list
nix-dev at cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20091103/1cd5ac43/attachment.html
More information about the nix-dev
mailing list