Snd: Don't expect /tmp to be writable.

svn path=/nixpkgs/trunk/; revision=17834
This commit is contained in:
Ludovic Courtès 2009-10-15 16:53:45 +00:00
parent ea9a9e5fae
commit 2ea3e03077

View File

@ -46,9 +46,10 @@ rec {
'' ["defEnsureDir"];
preBuild = fullDepEntry (''
cp config.log /tmp/snd-config.log
if [ -d /tmp ] && [ -w /tmp ]; then
cp -v config.log /tmp/snd-config.log
fi
export NIX_LDFLAGS="$NIX_LDFLAGS -L${args.libX11}/lib -lX11"
'') ["minInit" "doUnpack" "makeDocsWork"];
name = "Snd-" + version;