mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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:
parent
5fc7590886
commit
dc5843399d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user