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:
parent
64222f4f33
commit
dcd4ea7fad
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue