summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-12-28 09:14:33 +0100
committertv <tv@krebsco.de>2016-12-28 09:26:57 +0100
commit4f87f3bf4ada67f7041c58af91073ce7062ac493 (patch)
tree9b01a6a47d8672a9f2486083191fe0db821e530a /krebs/5pkgs
parentbf4e2bd961b27d68e392cd1a53637b19feb887e4 (diff)
irc-announce: mktemp --tmpdir
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/irc-announce/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/irc-announce/default.nix b/krebs/5pkgs/irc-announce/default.nix
index f02cec3c6..e1f4919d5 100644
--- a/krebs/5pkgs/irc-announce/default.nix
+++ b/krebs/5pkgs/irc-announce/default.nix
@@ -32,7 +32,7 @@ pkgs.writeDashBin "irc-announce" ''
# ircin is used to feed the output of netcat back to the "irc client"
# so we can implement expect-like behavior with sed^_^
# XXX mkselfdestructingtmpfifo would be nice instead of this cruft
- tmpdir="$(mktemp -d irc-announce_XXXXXXXX)"
+ tmpdir=$(mktemp --tmpdir -d irc-announce_XXXXXXXX)
cd "$tmpdir"
mkfifo ircin
trap "