3
0
Fork 0
forked from mirrors/nixpkgs

ibus-table-others: use mktemp for temporary directory

This commit is contained in:
Thomas Tuegel 2016-02-23 19:16:29 -06:00
parent edad1786a1
commit e559c3a72a

View file

@ -12,11 +12,11 @@ stdenv.mkDerivation rec {
buildInputs = [ ibus ibus-table pkgconfig python3 ]; buildInputs = [ ibus ibus-table pkgconfig python3 ];
preBuild = '' preBuild = ''
export HOME=/tmp/ibus-table-others export HOME=$(mktemp -d)/ibus-table-others
''; '';
postFixup = '' postFixup = ''
rm -rf /tmp/ibus-table-others rm -rf $HOME
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {