From 622bdca26c55872ef8870ff3316360fade96f056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 31 Aug 2014 22:45:37 +0200 Subject: [PATCH] processing: keep processing-java and patch it to make it work --- pkgs/applications/graphics/processing/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/processing/default.nix b/pkgs/applications/graphics/processing/default.nix index ce3d639d1a30..7d0595134e99 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/ '';