From e559c3a72a06d4a92cb252ef077add1443f1a9d0 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 23 Feb 2016 19:16:29 -0600 Subject: ibus-table-others: use mktemp for temporary directory --- pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 13d9df5de081..f3e3973a2c3f 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; { -- cgit 1.4.1