autogen: don't write temp files outside build dir

This commit is contained in:
Thomas Tuegel 2015-08-22 16:10:52 -05:00
parent 04124c45a7
commit 1ea4ea1375

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
# Fix a broken sed expression used for detecting the minor
# version of guile we are using
sed -i "s,sed '.*-I.*',sed 's/\\\(^\\\| \\\)-I/\\\1/g',g" configure
# Don't write temporary files outside the build directory
sed -i "s,/tmp/mklibsrc-log.tx,$TMPDIR/mklibsrc-log.tx,g" pkg/libopts/mklibsrc.sh
'';
#doCheck = true; # 2 tests fail because of missing /dev/tty