Skip to content
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

copyPathToStore(): Preserve symlinks (backport #12448) #12453

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 11, 2025

Motivation

E.g. in a derivation attribute foo = ./bar, if ./bar is a symlink, we should copy the symlink to the store, not its target. This restores the behaviour of Nix <= 2.19.

Context


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 #12448 done by [Mergify](https://mergify.com).

E.g. in a derivation attribute `foo = ./bar`, if ./bar is a symlink,
we should copy the symlink to the store, not its target. This restores
the behaviour of Nix <= 2.19.

(cherry picked from commit 26b87e7)
@mergify mergify bot requested a review from edolstra as a code owner February 11, 2025 21:52
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Feb 11, 2025
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Feb 11, 2025
@edolstra edolstra enabled auto-merge February 11, 2025 21:52
@edolstra edolstra merged commit dfbd030 into 2.26-maintenance Feb 11, 2025
21 checks passed
@edolstra edolstra deleted the mergify/bp/2.26-maintenance/pr-12448 branch February 11, 2025 22:16
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 with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant