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
This commit is contained in:
Valentin Gagarin 2024-07-13 14:28:14 +02:00 committed by Valentin Gagarin
parent 7bbfd756cd
commit 6bb3ac98cc

View File

@ -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