mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
maxima: don't create dangling symlink (#380404)
This commit is contained in:
commit
37263cded4
1 changed files with 2 additions and 3 deletions
|
@ -58,9 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
for prog in "$out/bin/"*; do
|
for prog in "$out/bin/"*; do
|
||||||
wrapProgram "$prog" --prefix PATH ":" "$out/bin:${searchPath}"
|
wrapProgram "$prog" --prefix PATH ":" "$out/bin:${searchPath}"
|
||||||
done
|
done
|
||||||
# Move emacs modules and documentation into the right place.
|
# Move documentation into the right place.
|
||||||
mkdir -p $out/share/emacs $out/share/doc
|
mkdir -p $out/share/doc
|
||||||
ln -s ../maxima/${finalAttrs.version}/emacs $out/share/emacs/site-lisp
|
|
||||||
ln -s ../maxima/${finalAttrs.version}/doc $out/share/doc/maxima
|
ln -s ../maxima/${finalAttrs.version}/doc $out/share/doc/maxima
|
||||||
''
|
''
|
||||||
+ (lib.optionalString (lisp-compiler.pname == "ecl") ''
|
+ (lib.optionalString (lisp-compiler.pname == "ecl") ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue