Skip to content

[Backport release-25.05] ci/eval: fail on asserts when generating attrpaths#428141

Merged
wolfgangwalther merged 3 commits intorelease-25.05from
backport-426629-to-release-25.05
Jul 24, 2025
Merged

[Backport release-25.05] ci/eval: fail on asserts when generating attrpaths#428141
wolfgangwalther merged 3 commits intorelease-25.05from
backport-426629-to-release-25.05

Conversation

@nixpkgs-ci
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Jul 24, 2025

Bot-based backport to release-25.05, triggered by a label in #426629.

  • 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.

This is already not used in-tree, so should be a variant.

(cherry picked from commit 612e76d)
This removes pkgsx86_64Darwin from the top-level attributes when
generating attrpaths for evaluation on Linux. Needed for attrpaths
generation to succeed without silently catching eval errors.

Variants are still available during actual Eval for references from
other packages, just not during attrpath generation. To remove it from
Eval as well, issues around pkgsLLVM will have to be fixed first.

(cherry picked from commit fc45a5f)
This doesn't fail on *all* asserts, yet, because nix-env still ignores
these in the main eval step. But it already gives some converage during
the attrpath generation.

(cherry picked from commit 30f19cc)
@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 24, 2025
@wolfgangwalther wolfgangwalther merged commit dd715ec into release-25.05 Jul 24, 2025
26 checks passed
@wolfgangwalther wolfgangwalther deleted the backport-426629-to-release-25.05 branch July 24, 2025 19:43
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.

1 participant