From a52b3a04efda23d0e270226f07d1b9f05a4b2d76 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 17 Dec 2025 20:23:07 +0100 Subject: treewide: Use correct `mktemp` with template invocation --- modules/by-name/ni/nixos-shell/nixos-shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/by-name/ni') diff --git a/modules/by-name/ni/nixos-shell/nixos-shell.sh b/modules/by-name/ni/nixos-shell/nixos-shell.sh index 99476e9d..3b34019a 100755 --- a/modules/by-name/ni/nixos-shell/nixos-shell.sh +++ b/modules/by-name/ni/nixos-shell/nixos-shell.sh @@ -10,7 +10,7 @@ # You should have received a copy of the License along with this program. # If not, see . -SHARED_DIR="$(mktemp --directory "nixos_shell_XXXXXXXXX")" +SHARED_DIR="$(mktemp -t --directory "nixos_shell_XXXXXXXXX")" cleanup() { rm --recursive "$SHARED_DIR" } -- cgit 1.4.1