Lily Ballard
3c8096e5cb
feat: Add temp-dir setting
...
This adds a new temp-dir setting for controlling the temporary directory
without having to change the TMPDIR env var. This can be used to e.g.
use a path on a case-sensitive store on macOS for temporary files
without changing the TMPDIR var used by interactive shells or commands
invoked with `nix run`.
This also stops unsetting `TMPDIR` on darwin when the env var value
starts with `/var/folders/`, preferring instead to just do the check
when reading `TMPDIR`. This way the inherited `TMPDIR` env var is
preserved for child processes (such as interactive shells).
As a side effect this changes the behavior of `nix-build -o ''` to act
like `nix-build --no-out-link` instead of failing with an error caused
by trying to create a symlink at the cwd.
Fixes: https://git.lix.systems/lix-project/lix/issues/253
Fixes: https://git.lix.systems/lix-project/lix/issues/112
Change-Id: I9ee826323f2deca62854715a77ca7a373a948a29
2024-11-06 18:11:47 -08:00
..
2024-05-31 12:17:06 +00:00
2024-03-27 03:52:57 +00:00
2023-04-07 13:55:28 +00:00
2024-08-25 12:18:20 -07:00
2024-10-27 18:12:18 +00:00
2024-09-13 17:11:43 -07:00
2024-08-28 09:55:05 -07:00
2024-08-28 09:55:05 -07:00
2024-10-19 19:47:46 +00:00
2024-09-26 16:32:02 +00:00
2024-08-28 09:55:05 -07:00
2024-03-11 01:04:52 -07:00
2024-05-29 09:54:47 +02:00
2023-04-17 11:41:50 +02:00
2024-05-29 11:01:34 +02:00
2023-03-31 23:19:44 -04:00
2024-08-08 14:53:17 -07:00
2024-07-13 00:56:37 +02:00
2023-03-31 23:19:44 -04:00
2024-05-07 14:35:20 +00:00
2024-05-29 12:38:51 +02:00
2024-09-18 15:37:29 -07:00
2024-07-11 11:39:18 +00:00
2021-02-22 09:11:15 +01:00
2023-03-31 23:19:44 -04:00
2024-07-31 15:38:37 +02:00
2024-10-15 19:55:50 +02:00
2024-10-28 14:22:59 +00:00
2024-10-15 19:55:50 +02:00
2024-10-01 15:49:56 -07:00
2024-10-18 21:34:18 -07:00
2024-08-17 19:47:51 +02:00
2024-08-21 12:59:03 +02:00
2024-08-21 12:59:03 +02:00
2024-03-09 03:50:06 +01:00
2024-04-08 15:40:12 -07:00
2024-05-28 11:29:29 +02:00
2024-05-28 11:29:29 +02:00
2024-10-09 20:37:16 +00:00
2024-10-08 01:44:38 +00:00
2024-03-28 15:54:12 -07:00
2024-04-08 15:40:12 -07:00
2024-04-03 16:25:54 +00:00
2024-04-08 15:40:12 -07:00
2024-03-09 10:17:26 -07:00
2024-04-08 15:40:12 -07:00
2024-03-27 03:52:57 +00:00
2024-09-16 10:48:20 -07:00
2024-08-18 16:56:49 +00:00
2024-10-01 15:49:56 -07:00
2024-08-09 19:59:17 +00:00
2024-11-06 18:11:47 -08:00
2024-11-06 18:11:47 -08:00
2024-08-26 16:13:03 -07:00
2024-08-28 09:55:09 -07:00
2024-09-25 15:20:48 -07:00
2024-07-03 11:46:53 +00:00
2022-05-04 14:38:59 +02:00
2023-03-31 23:19:44 -04:00
2024-11-01 11:59:59 +00:00
2024-08-08 14:53:17 -07:00
2022-06-05 20:30:18 +02:00
2023-03-31 23:19:44 -04:00
2024-05-29 09:54:47 +02:00
2023-03-31 23:19:44 -04:00
2023-08-05 01:34:30 +02:00
2024-03-04 07:11:25 +01:00
2024-05-23 16:45:23 -06:00
2024-03-27 03:52:57 +00:00
2024-10-15 11:15:42 +02:00
2024-07-20 12:33:49 +00:00
2023-03-31 23:19:44 -04:00
2024-09-26 16:56:08 +00:00
2024-07-13 01:17:14 +02:00
2024-07-27 19:40:40 +00:00
2024-07-27 19:40:40 +00:00
2024-06-23 11:52:49 +00:00
2024-05-29 11:41:16 +02:00
2024-08-30 19:01:30 +02:00
2024-04-05 20:13:02 +00:00
2024-03-18 16:12:46 +01:00
2024-03-18 16:12:46 +01:00
2024-03-29 16:26:29 -07:00
2024-04-08 15:40:12 -07:00
2024-08-28 09:55:05 -07:00
2024-10-08 01:44:38 +00:00
2024-05-09 13:02:45 +00:00
2024-07-11 11:39:18 +00:00
2024-07-11 11:39:18 +00:00
2024-05-29 11:01:34 +02:00
2024-08-28 09:55:05 -07:00
2024-04-25 23:24:21 -04:00
2024-03-05 23:46:18 -07:00
2024-09-08 01:57:48 +00:00
2024-10-01 15:49:56 -07:00
2024-10-01 15:49:56 -07:00
2024-08-04 20:55:45 -07:00
2024-04-08 15:40:12 -07:00
2024-10-18 21:34:18 -07:00
2024-10-18 21:34:18 -07:00
2024-08-28 09:55:05 -07:00
2024-07-05 22:28:16 +00:00
2024-05-29 12:38:51 +02:00
2024-08-08 14:53:17 -07:00
2024-09-01 15:10:31 -07:00
2024-05-29 12:38:51 +02:00
2024-05-29 12:38:51 +02:00
2024-06-18 15:11:31 -07:00
2024-08-08 14:53:17 -07:00
2023-04-25 16:43:10 +02:00
2024-08-10 16:07:21 -07:00
2024-08-10 16:07:21 -07:00
2024-10-09 15:38:40 -07:00
2024-08-26 16:13:03 -07:00
2023-03-31 23:19:44 -04:00
2024-08-28 09:55:05 -07:00
2024-06-23 11:52:49 +00:00
2024-05-29 11:01:34 +02:00
2024-05-29 12:38:51 +02:00
2024-05-29 12:38:51 +02:00
2024-06-29 05:11:31 +00:00
2024-08-04 20:55:45 -07:00
2024-08-26 16:13:03 -07:00
2024-08-23 15:15:21 -07:00
2024-05-29 11:01:34 +02:00
2024-08-26 16:13:03 -07:00
2022-02-25 16:13:02 +01:00
2023-03-31 23:19:44 -04:00