Skip to content

Deprecate hacky way of making structured attrs #13273

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 2 commits into from
May 28, 2025

Conversation

Ericson2314
Copy link
Member

Motivation

The first commit adds a test for a trick with builtins.derivation that currently works today.

The second commit adds a deprecation message for that trick, and extends the test to check for the deprecation message.

Context

Thanks to @puckipedia for telling me about this, while we went over #13263.


Add 👍 to pull requests you find important.

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

@github-project-automation github-project-automation bot moved this to To triage in Nix team May 26, 2025
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label May 26, 2025
@Ericson2314 Ericson2314 force-pushed the deprecate-structured-attrs-hack branch from a4713ed to a42e1a2 Compare May 27, 2025 00:47
@Ericson2314 Ericson2314 force-pushed the deprecate-structured-attrs-hack branch from d1c86c9 to ddefbdd Compare May 28, 2025 16:02
@Ericson2314 Ericson2314 enabled auto-merge May 28, 2025 16:03
@Ericson2314 Ericson2314 force-pushed the deprecate-structured-attrs-hack branch from ddefbdd to 35d56dd Compare May 28, 2025 16:37
The method tested for in the previous commit is now deprecated.

Co-authored-by: Eelco Dolstra <[email protected]>
@Ericson2314 Ericson2314 force-pushed the deprecate-structured-attrs-hack branch from 35d56dd to 7577d2d Compare May 28, 2025 16:59
@Ericson2314 Ericson2314 merged commit 20226c8 into master May 28, 2025
25 checks passed
@Ericson2314 Ericson2314 deleted the deprecate-structured-attrs-hack branch May 28, 2025 17:40
@github-project-automation github-project-automation bot moved this from To triage to Done in Nix team May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation with-tests Issues related to testing. PRs with tests have some priority
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants