Skip to content

Commit

Permalink
eclipse: add aliases for "latest" versions
Browse files Browse the repository at this point in the history
Add aliases like "eclipse-cpp = eclipse-cpp-46" so that user
configurations can point to "eclipse-cpp" and have it not regularly
break as nixpkgs is updated.
  • Loading branch information
bjornfor authored and rycee committed Feb 27, 2017
1 parent b7d15ed commit 81de551
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/applications/editors/eclipse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rec {

### Eclipse CPP

eclipse-cpp = eclipse-cpp-46; # always point to latest

eclipse-cpp-46 = buildEclipse {
name = "eclipse-cpp-4.6.0";
description = "Eclipse IDE for C/C++ Developers, Neon release";
Expand Down Expand Up @@ -50,6 +52,8 @@ rec {

### Eclipse Modeling

eclipse-modeling = eclipse-modeling-46; # always point to latest

eclipse-modeling-46 = buildEclipse {
name = "eclipse-modeling-4.6";
description = "Eclipse Modeling Tools";
Expand Down Expand Up @@ -85,7 +89,7 @@ rec {

### Eclipse Platform

eclipse-platform = eclipse-platform-46;
eclipse-platform = eclipse-platform-46; # always point to latest

eclipse-platform-46 = buildEclipse {
name = "eclipse-platform-4.6.2";
Expand All @@ -104,6 +108,8 @@ rec {

### Eclipse Scala SDK

eclipse-scala-sdk = eclipse-scala-sdk-441; # always point to latest

eclipse-scala-sdk-441 = buildEclipse {
name = "eclipse-scala-sdk-4.4.1";
description = "Eclipse IDE for Scala Developers";
Expand All @@ -122,6 +128,8 @@ rec {

### Eclipse SDK

eclipse-sdk = eclipse-sdk-46; # always point to latest

eclipse-sdk-46 = buildEclipse {
name = "eclipse-sdk-4.6.2";
description = "Eclipse Neon 2 Classic";
Expand Down

0 comments on commit 81de551

Please sign in to comment.