maxima: add $out/bin to $PATH in the maxima wrapper scripts

This ensures that Maxima's wrapper scripts (such as rmaxima) find the
correct maxima binary.
This commit is contained in:
Peter Simons 2013-08-28 16:33:33 +02:00
parent 5fc7590886
commit dc5843399d

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
postInstall = ''
# Make sure that maxima can find its runtime dependencies.
for prog in "$out/bin/"*; do
wrapProgram "$prog" --prefix PATH ":" "${searchPath}"
wrapProgram "$prog" --prefix PATH ":" "$out/bin:${searchPath}"
done
# Move emacs modules and documentation into the right place.
mkdir -p $out/share/emacs $out/share/doc