diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix index 13d9df5de08..f3e3973a2c3 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix @@ -12,11 +12,11 @@ stdenv.mkDerivation rec { buildInputs = [ ibus ibus-table pkgconfig python3 ]; preBuild = '' - export HOME=/tmp/ibus-table-others + export HOME=$(mktemp -d)/ibus-table-others ''; postFixup = '' - rm -rf /tmp/ibus-table-others + rm -rf $HOME ''; meta = with stdenv.lib; {