From 6bb3ac98ccf67e28c5e86991f23920d088ab3307 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Sat, 13 Jul 2024 14:28:14 +0200 Subject: [PATCH] docs: $TMP -> $TMPDIR in Darwin build `TMPDIR` is the canonical form in POSIX and SUS https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03 --- doc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/default.nix b/doc/default.nix index 4ca330d39272..6492d78601c8 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -69,8 +69,8 @@ let $epubPath echo "application/epub+zip" > mimetype - zip -0Xq -b "$TMP" "$out" mimetype - cd scratch && zip -Xr9D -b "$TMP" "$out" * + zip -0Xq -b "$TMPDIR" "$out" mimetype + cd scratch && zip -Xr9D -b "$TMPDIR" "$out" * ''; # NB: This file describes the Nixpkgs manual, which happens to use module