mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
228d451e03
On macOS, /tmp is a symlink to /private/tmp. When performing cd /tmp, and checking cwd - it won't match since it follows the symlink. This caused test breakage on macOS but not Linux. Instead, use a folder which is not a symlink, and consistent across Linux and macOS.
3 lines
34 B
Bash
3 lines
34 B
Bash
CWD=SUBST_CWD/tmp/foo
|
|
SUBST_ARGV0
|