diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-02-23 19:16:29 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-02-23 19:16:29 -0600 |
commit | e559c3a72a06d4a92cb252ef077add1443f1a9d0 (patch) | |
tree | 168e81a24d64065f529315abbe820d75a6ec678c | |
parent | edad1786a128e2f4c5f1f0f5bdc9a5797595f7ae (diff) | |
download | nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar.gz nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar.bz2 nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar.lz nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar.xz nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.tar.zst nixlib-e559c3a72a06d4a92cb252ef077add1443f1a9d0.zip |
ibus-table-others: use mktemp for temporary directory
-rw-r--r-- | pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix | 4 |
1 files 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; { |