Federico Beffa <be...@ieee.org> skribis: > The build procedure (make) generates some temporary files. When I > build the package with guix, guix extracts the program tar.gz archive > in the temporary directory > > /tmp/nix-build-maxima-5.34.1.drv-0 > > However, maxima attempts to create temporary files in > > /tmp/nix-build-maxima-5.34.1 > > and fails. To correct for this I've explicitly passed "TMPDIR=/tmp" to > make. Is this the expected behavior?
No, it looks like Maxima’s build system erroneously strips out part of the directory name. In that case, passing TMPDIR=/tmp seems right. > From 998303ea042361727837baf38193462148c07565 Mon Sep 17 00:00:00 2001 > From: Federico Beffa <be...@fbengineering.ch> > Date: Tue, 23 Sep 2014 16:20:02 +0200 > Subject: [PATCH] gnu packages maxima: Update to 5.34.1 and fix dependencies > > * gnu/packages/maths.scm(maxima): Update to 5.34.1 which fixes a bug in the > plotting capabilities (plot2d, ...) present in the previous version > (5.33.0). Add the 'gnuplot' depencency which is required to generate plots. > Add 'tcl' and 'tk' as dependencies: they are required by the 'xmaxima' > command. Pushed with some tweaks: I’ve added a copyright line for you (let me know if it’s wrong), replaced tabs with spaces (if you use Emacs, the .dir-locals.el normally ensures that), and moved parts of the commit log above to comments in the source (info "(standards) Change Log Concepts"). Thank you! Ludo’.