summary refs log tree commit diff
path: root/pkgs/tools/security/jd-gui/default.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-08-11 11:40:08 +0200
committerRobin Gloster <mail@glob.in>2017-08-11 11:40:36 +0200
commit28cc2642f09419b0a8345d6349329b851d11ad98 (patch)
tree4b107b35809712540a0962b53dc2f75dfd2fdda0 /pkgs/tools/security/jd-gui/default.nix
parent72457cdebbeeafbc48cba517f07351ff02cc0dab (diff)
downloadnixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.gz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.bz2
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.lz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.xz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.zst
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.zip
treewide: use less `phases` if not necessary
This removes some skipping of e.g. fixupPhase and cleans up occurences
where this led to duplicating code
Diffstat (limited to 'pkgs/tools/security/jd-gui/default.nix')
-rw-r--r--pkgs/tools/security/jd-gui/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/jd-gui/default.nix b/pkgs/tools/security/jd-gui/default.nix
index 32bc1a4d7119..72cb19aa732b 100644
--- a/pkgs/tools/security/jd-gui/default.nix
+++ b/pkgs/tools/security/jd-gui/default.nix
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ upx patchelf ];
 
-  phases = "unpackPhase installPhase";
   unpackPhase = "tar xf ${src}";
   installPhase = ''
     mkdir -p $out/bin
@@ -41,6 +40,8 @@ stdenv.mkDerivation rec {
       $out/bin/jd-gui
   '';
 
+  dontStrip = true;
+
   meta = {
     description = "Fast Java Decompiler with powerful GUI";
     homepage    = "http://jd.benow.ca/";