diff --git a/pkgs/applications/editors/eclipse/eclipse_classic.nix b/pkgs/applications/editors/eclipse/eclipse_classic.nix index 72a4116c57d..2d3b22e476e 100644 --- a/pkgs/applications/editors/eclipse/eclipse_classic.nix +++ b/pkgs/applications/editors/eclipse/eclipse_classic.nix @@ -42,7 +42,7 @@ args.stdenv.mkDerivation rec { makeWrapper \$out/eclipse/eclipse \$out/bin/eclipse \\ --prefix PATH \":\" \"\$jdk/bin\" \\ --prefix LD_LIBRARY_PATH \":\" \"\$rpath\" - sed -e 's=exec.*=exec \$(dirname $0)/../eclipse/eclipse=' -i \$out/bin/eclipse + sed -e 's=exec.*=exec \$(dirname $0)/../eclipse/eclipse $@=' -i \$out/bin/eclipse "; # using dirname so that eclipse still runs after copying the whole store # directory somewhere else (so that you can use the update manager