libstore setup on Darwin overrides TMPDIR in interactive nix-shell and others #253

Open
opened 2024-04-29 10:57:12 +00:00 by molly · 0 comments
Member

Describe the bug

(Upstream issue: https://github.com/NixOS/nix/issues/7731)

The initialisation code in libstore (initLibStore()) unsets TMPDIR on Darwin, and resets it to /tmp. This code is invoked when running nix-shell interactively (among others), which means that applications which rely on TMPDIR for IPC (for example, emacsclient) break

Steps To Reproduce

Not yet reproduced with lix, however the original code from upstream is still present.

## Describe the bug (Upstream issue: https://github.com/NixOS/nix/issues/7731) The initialisation code in libstore (`initLibStore()`) unsets TMPDIR on Darwin, and resets it to /tmp. This code is invoked when running nix-shell interactively (among others), which means that applications which rely on TMPDIR for IPC (for example, emacsclient) break ## Steps To Reproduce Not yet reproduced with lix, however the original code from upstream is still present.
molly added the
bug
label 2024-04-29 10:57:12 +00:00
qyriad added the
Area/store
label 2024-05-06 00:54:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#253
No description provided.