mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +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
|
||||
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
|
||||
ln -s ../maxima/${finalAttrs.version}/emacs $out/share/emacs/site-lisp
|
||||
# Move documentation into the right place.
|
||||
mkdir -p $out/share/doc
|
||||
ln -s ../maxima/${finalAttrs.version}/doc $out/share/doc/maxima
|
||||
''
|
||||
+ (lib.optionalString (lisp-compiler.pname == "ecl") ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue