Skip to content

[Backport release-26.05] ci/eval: Allow disallowed attrs to depend on other disallowed attrs - #537612

Merged
MattSturgeon merged 1 commit into
release-26.05from
backport-537051-to-release-26.05
Jul 2, 2026
Merged

[Backport release-26.05] ci/eval: Allow disallowed attrs to depend on other disallowed attrs#537612
MattSturgeon merged 1 commit into
release-26.05from
backport-537051-to-release-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to release-26.05, triggered by a label in #537051.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

With a dependency chain like

    a -> b -> c

it was not possible to e.g. add a `meta.problems.removal` to b, because that would cause b to be entirely unavailable as a dependency.

This PR slightly lifts that restriction by allowing both a and b to be marked with such a problem without causing a CI failure.

This is useful for:
- Having a problem on a package that needs to be removed but still has dependents (which then also need a problem)
- Having a problem on a package that is aliased under another attribute, which counts as a dependency

(cherry picked from commit bf80cf0)
@nixpkgs-ci
nixpkgs-ci Bot requested a review from infinisil July 1, 2026 22:52
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team and Ericson2314 July 1, 2026 22:58
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 4.workflow: backport This targets a stable branch labels Jul 1, 2026
@MattSturgeon
MattSturgeon added this pull request to the merge queue Jul 2, 2026
Merged via the queue into release-26.05 with commit f266a5a Jul 2, 2026
30 checks passed
@MattSturgeon
MattSturgeon deleted the backport-537051-to-release-26.05 branch July 2, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants