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

Test that the root of a tree produces /nix/store/<hash1>-<hash2>-source #10625

Merged
merged 2 commits into from
May 1, 2024

Conversation

edolstra
Copy link
Member

Motivation

This is really a bug, but unless we decide to make a breaking change, we should test it. (See c5ae41d for the backwards compatibility hack needed on lazy-trees to maintain this behavior.)

Context

Priorities and Process

Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Apr 30, 2024
@Ericson2314
Copy link
Member

I think it would be good to add a TODO that we should strongly consider changing this. The point of adding these tests should be to detect accidental changes --- not start committing to indefinitely supporting silly bugs in an unstable feature.

@edolstra
Copy link
Member Author

@Ericson2314 Good point, created #10627.

Co-authored-by: John Ericson <git@JohnEricson.me>
@edolstra edolstra merged commit 5279e1f into NixOS:master May 1, 2024
9 checks passed
@edolstra edolstra deleted the test-flake-root branch May 1, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

2 participants