diff options
author | Cillian de Róiste <cillian.deroiste@gmail.com> | 2014-08-31 22:45:37 +0200 |
---|---|---|
committer | Cillian de Róiste <cillian.deroiste@gmail.com> | 2014-08-31 22:46:02 +0200 |
commit | 622bdca26c55872ef8870ff3316360fade96f056 (patch) | |
tree | cfde927205730fda0d34133cf2594411afb2e85c /pkgs/applications/graphics/processing | |
parent | 08131bd5d5f627f03625cf28ca8afbd7eb83e7fa (diff) |
processing: keep processing-java and patch it to make it work
Diffstat (limited to 'pkgs/applications/graphics/processing')
-rw-r--r-- | pkgs/applications/graphics/processing/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index ce3d639d1a300..7d0595134e997 100644 --- a/pkgs/applications/graphics/processing/default.nix +++ b/pkgs/applications/graphics/processing/default.nix @@ -19,10 +19,11 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin cp -r linux/work/* $out/ - rm $out/processing-java sed -e "s#APPDIR=\`dirname \"\$APPDIR\"\`#APPDIR=$out#" -i $out/processing - mv $out/processing $out/bin/ + sed -e "s#APPDIR=\`dirname \"\$APPDIR\"\`#APPDIR=$out#" -i $out/processing-java + mv $out/processing{,-java} $out/bin/ wrapProgram $out/bin/processing --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib + wrapProgram $out/bin/processing-java --prefix PATH : ${jre}/bin --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib mkdir $out/java ln -s ${jre}/bin $out/java/ ''; |