ibus-table-others: use mktemp for temporary directory

+2 -2
+2 -2
pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
··· 12 buildInputs = [ ibus ibus-table pkgconfig python3 ]; 13 14 preBuild = '' 15 - export HOME=/tmp/ibus-table-others 16 ''; 17 18 postFixup = '' 19 - rm -rf /tmp/ibus-table-others 20 ''; 21 22 meta = with stdenv.lib; {
··· 12 buildInputs = [ ibus ibus-table pkgconfig python3 ]; 13 14 preBuild = '' 15 + export HOME=$(mktemp -d)/ibus-table-others 16 ''; 17 18 postFixup = '' 19 + rm -rf $HOME 20 ''; 21 22 meta = with stdenv.lib; {