3
0
Fork 0
forked from mirrors/nixpkgs

Modified eclipse wrapper so that options are possed to the real eclipse executable now (so you can extend perm space easily.. )

svn path=/nixpkgs/trunk/; revision=11686
This commit is contained in:
Marc Weber 2008-04-22 18:26:57 +00:00
parent 64222f4f33
commit dcd4ea7fad

View file

@ -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