diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-12-09 12:08:45 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-12-09 12:08:45 +0100 |
| commit | 993c3283a9e6a00fcb6b747d54f281caf6f4b681 (patch) | |
| tree | 01133013bdfc8bb582db736289ab79c322730179 /modules/by-name/ni | |
| parent | pkgs/notify-run: Append the name of the spawned command before printing (diff) | |
| download | nixos-config-993c3283a9e6a00fcb6b747d54f281caf6f4b681.zip | |
treewide: Give tempfiles descriptive names
This makes it easier to see, where each tempfile comes from.
Diffstat (limited to 'modules/by-name/ni')
| -rwxr-xr-x | modules/by-name/ni/nixos-shell/nixos-shell.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/ni/nixos-shell/nixos-shell.sh b/modules/by-name/ni/nixos-shell/nixos-shell.sh index 390e60b1..99476e9d 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. -SHARED_DIR="$(mktemp --directory)" +SHARED_DIR="$(mktemp --directory "nixos_shell_XXXXXXXXX")" cleanup() { rm --recursive "$SHARED_DIR" } |
