Skip to content

libstore: fix Unix sockets in the build directory on sandboxed macOS (backport #13468)#13472

Merged
edolstra merged 1 commit into2.30-maintenancefrom
mergify/bp/2.30-maintenance/pr-13468
Jul 14, 2025
Merged

libstore: fix Unix sockets in the build directory on sandboxed macOS (backport #13468)#13472
edolstra merged 1 commit into2.30-maintenancefrom
mergify/bp/2.30-maintenance/pr-13468

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jul 14, 2025

Motivation

We’re already allowing /tmp anyway, so this should be harmless, and it fixes a regression in the default configuration caused by moving the build directories out of temp-dir. (For instance, that broke the Lix guessOrInventPath.sockets test.)

Note that removing /tmp breaks quite a few builds, so although it may be a good idea in general it would require work on the Nixpkgs side.

Context

(This is a cherry-pick of commit d1db3e5)

Lix patch: https://gerrit.lix.systems/c/lix/+/3500


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #13468 done by [Mergify](https://mergify.com).

We’re already allowing `/tmp` anyway, so this should be harmless,
and it fixes a regression in the default configuration caused by
moving the build directories out of `temp-dir`. (For instance, that
broke the Lix `guessOrInventPath.sockets` test.)

Note that removing `/tmp` breaks quite a few builds, so although it may
be a good idea in general it would require work on the Nixpkgs side.

Fixes: 749afbb
Change-Id: I6a6a69645f429bc50d4cb24283feda3d3091f534

(This is a cherry-pick of commit d1db3e5)

Lix patch: https://gerrit.lix.systems/c/lix/+/3500

(cherry picked from commit 5cd9443)
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Jul 14, 2025
@mergify mergify bot requested a review from Ericson2314 as a code owner July 14, 2025 09:15
@mergify mergify bot added merge-queue automatic backport This PR is a backport produced by automation (does not trigger backporting) labels Jul 14, 2025
@edolstra edolstra enabled auto-merge July 14, 2025 09:19
@edolstra edolstra merged commit 17fc0f4 into 2.30-maintenance Jul 14, 2025
25 checks passed
@edolstra edolstra deleted the mergify/bp/2.30-maintenance/pr-13468 branch July 14, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants