Commit 5fb104b
committed
Use temp file + install pattern for Darwin compatibility
The previous pipe-based approach (printf | install /dev/stdin) doesn't
work reliably on macOS. Use temp file + install instead, which:
- Preserves exact contents of DEVENV_TASK_ENV (no shell expansion)
- Fixes file-owned-by-another-user problem (install recreates)
- Works on both Linux and macOS
See: nix-community/nix-direnv#647 (comment)
Assisted-By: claude-opus-4-5-20251101 via Claude Code1 parent e2d633a commit 5fb104b
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
| |||
0 commit comments