0
0
Fork 0
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:
Wolfgang Walther 2025-02-08 20:34:14 +01:00 committed by GitHub
commit 37263cded4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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") ''