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-11-06 18:11:47 -08:00
2024-10-28 18:52:49 +00:00
2024-11-02 07:23:55 +00:00
2024-11-06 18:11:47 -08:00
2024-07-15 21:50:25 +00:00
2024-07-30 16:37:13 +00:00
2024-10-08 01:44:38 +00:00
2024-09-26 15:25:28 +00:00
2022-04-21 10:06:39 +02:00
2024-08-26 16:13:03 -07:00
2024-07-16 00:57:42 +00:00
2024-07-16 00:57:42 +00:00
2024-08-28 09:55:05 -07:00
2024-03-29 20:26:38 -07:00
2024-08-08 14:53:17 -07:00
2024-05-29 12:38:51 +02:00
2024-10-15 19:55:50 +02:00
2023-04-06 19:59:57 -04:00
2024-08-28 09:55:05 -07:00
2024-06-12 15:34:23 -07:00
2023-10-02 15:05:23 +00:00
2024-04-08 15:40:12 -07:00
2024-05-17 02:16:15 +02:00
2024-08-28 09:55:05 -07:00
2024-08-08 14:53:17 -07:00
2023-08-25 09:55:07 -04:00
2024-08-26 16:27:31 -07:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2024-08-08 14:53:17 -07:00
2024-11-04 23:54:41 +00:00
2024-10-28 18:52:49 +00:00
2023-04-07 13:55:28 +00:00
2024-04-23 16:17:05 +00:00
2024-10-30 19:54:43 -07:00
2024-11-06 18:11:47 -08:00
2024-11-06 18:11:47 -08:00
2024-10-28 18:52:49 +00:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2023-07-24 09:19:44 -04:00
2024-08-28 09:55:05 -07:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2024-08-26 16:13:03 -07:00
2024-05-23 16:45:23 -06:00
2024-08-26 16:27:31 -07:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2024-07-15 21:50:25 +00:00
2024-08-21 17:57:23 +02:00
2024-11-06 18:11:47 -08:00
2024-08-26 16:27:31 -07:00
2023-03-23 15:32:59 +01:00
2024-09-14 07:31:30 +00:00
2024-08-28 09:55:05 -07:00
2023-01-13 11:05:44 +01:00
2023-04-07 13:55:28 +00:00
2024-10-14 06:01:18 +00:00
2024-08-28 09:55:05 -07:00
2024-08-28 09:55:05 -07:00
2023-06-30 18:22:47 +02:00
2024-11-06 18:11:47 -08:00
2024-08-28 09:55:05 -07:00
2024-07-12 16:48:28 +02:00
2024-07-12 16:48:28 +02:00
2024-10-08 01:44:38 +00:00
2024-08-28 09:55:05 -07:00
2024-08-28 09:55:05 -07:00
2023-04-07 13:55:28 +00:00
2024-08-28 09:55:05 -07:00
2023-04-07 20:39:04 -04:00
2024-11-07 00:15:23 +00:00
2024-05-29 12:38:51 +02:00
2023-08-25 09:55:07 -04:00
2024-08-28 09:55:05 -07:00
2023-03-31 23:19:44 -04:00
2024-08-28 09:55:05 -07:00
2024-03-04 05:18:05 +01:00
2024-08-08 14:53:17 -07:00
2024-04-08 15:40:12 -07:00
2024-05-02 19:34:38 +02:00
2024-08-28 09:55:05 -07:00
2024-10-08 01:44:38 +00:00
2024-08-26 16:13:03 -07:00
2024-08-26 16:13:03 -07:00
2024-10-01 15:49:56 -07:00
2024-10-01 15:49:56 -07:00
2024-09-29 12:09:24 +00:00
2024-08-28 09:55:05 -07:00
2024-06-01 20:31:24 +02:00
2024-05-07 14:35:20 +00:00
2024-10-08 01:44:38 +00:00
2024-10-01 15:49:56 -07:00
2023-03-31 23:19:44 -04:00
2024-07-16 00:57:42 +00:00
2024-10-15 19:55:50 +02:00
2024-08-08 14:53:17 -07:00
2024-08-28 09:55:05 -07:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2023-03-31 23:19:44 -04:00
2022-06-01 14:59:57 +02:00
2024-08-26 16:13:03 -07:00
2024-08-08 14:53:17 -07:00
2024-07-16 00:57:42 +00:00
2024-10-30 19:54:43 -07:00
2024-08-26 16:13:03 -07:00
2024-10-14 06:01:18 +00:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2024-11-06 18:11:47 -08:00
2024-05-29 11:01:34 +02:00
2024-10-08 01:44:38 +00:00
2024-08-26 16:27:31 -07:00
2023-03-31 23:19:44 -04:00
2024-11-06 18:11:47 -08:00
2024-11-06 18:11:47 -08:00
2024-08-26 16:27:31 -07:00
2024-08-26 16:27:31 -07:00
2023-03-21 14:03:40 +01:00
2024-08-26 16:13:03 -07:00
2024-08-08 14:53:17 -07:00
2024-07-16 00:57:42 +00:00