neoload: link used jre to a location which is hard-coded into some binaries

This commit is contained in:
Mathijs Kwik 2012-11-19 10:17:26 +01:00
parent b62393bbb0
commit b155a188e3
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ in stdenv.mkDerivation rec {
sed -e 's|/lib/neoload/bin|/bin|' "$i" > "$out/share/applications/$name" sed -e 's|/lib/neoload/bin|/bin|' "$i" > "$out/share/applications/$name"
done done
rm $out/lib/neoload/*.desktop $out/lib/neoload/uninstall rm $out/lib/neoload/*.desktop $out/lib/neoload/uninstall
ln -s ${oraclejre}/bin $out/lib/neoload/jre
''; '';
meta = { meta = {