mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
autogen: don't write temp files outside build dir
This commit is contained in:
parent
04124c45a7
commit
1ea4ea1375
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user