Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

mergify[bot]
Copy link
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 d1db3e5fa3faa43b3d2f2e2e843e9cfc1e6e1b71)

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: 749afbbe99fd7b45f828b72628252feba9241362
Change-Id: I6a6a69645f429bc50d4cb24283feda3d3091f534

(This is a cherry-pick of commit d1db3e5fa3faa43b3d2f2e2e843e9cfc1e6e1b71)

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