mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Snd: Don't expect /tmp to be writable.
svn path=/nixpkgs/trunk/; revision=17834
This commit is contained in:
parent
ea9a9e5fae
commit
2ea3e03077
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user