about summary refs log tree commit diff
path: root/pkgs/applications/editors/eclipse
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-11-08 13:42:51 +0100
committerRobert Helgesson <robert@rycee.net>2017-11-08 14:16:10 +0100
commit3edc01d5d76ffe21101eea43e2b89c1fdbd5556a (patch)
tree6129a9597246fe5b3985159c4d33a078a3de2abd /pkgs/applications/editors/eclipse
parent81154d929a071ecd1944e267e6b532e28fbc387a (diff)
downloadnixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar.gz
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar.bz2
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar.lz
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar.xz
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.tar.zst
nixlib-3edc01d5d76ffe21101eea43e2b89c1fdbd5556a.zip
eclipse/plugins: remove `phases` fields
Diffstat (limited to 'pkgs/applications/editors/eclipse')
-rw-r--r--pkgs/applications/editors/eclipse/plugins.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix
index 4bad9eb2d64a..8d96a79b3c3d 100644
--- a/pkgs/applications/editors/eclipse/plugins.nix
+++ b/pkgs/applications/editors/eclipse/plugins.nix
@@ -24,9 +24,7 @@ rec {
     buildEclipsePluginBase (attrs // {
       srcs = [ srcFeature srcPlugin ];
 
-      phases = [ "installPhase" ];
-
-      installPhase = ''
+      buildCommand = ''
         dropinDir="$out/eclipse/dropins/${name}"
 
         mkdir -p $dropinDir/features
@@ -35,7 +33,6 @@ rec {
         mkdir -p $dropinDir/plugins
         cp -v ${srcPlugin} $dropinDir/plugins/${name}.jar
       '';
-
     });
 
   # Helper for the case where the build directory has the layout of an
@@ -44,7 +41,8 @@ rec {
   # directories will be installed.
   buildEclipseUpdateSite = { name, ... } @ attrs:
     buildEclipsePluginBase (attrs // {
-      phases = [ "unpackPhase" "installPhase" ];
+      dontBuild = true;
+      doCheck = false;
 
       installPhase = ''
         dropinDir="$out/eclipse/dropins/${name}"