Skip to content

[Backport release-25.05] ci/eval: fix local full eval#442157

Merged
philiptaron merged 1 commit intorelease-25.05from
backport-442035-to-release-25.05
Sep 11, 2025
Merged

[Backport release-25.05] ci/eval: fix local full eval#442157
philiptaron merged 1 commit intorelease-25.05from
backport-442035-to-release-25.05

Conversation

@nixpkgs-ci
Copy link
Copy Markdown
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Sep 11, 2025

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

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

The change to use `builtins.storePath` was good - for when the store
path *is* already part of the nix store. In all my tests so far, that
was already the case, because I was iterating on the solution and the
Eval results stayed the same.

But when this is run on a entirely new commit, these the values for
`afterDir` and `combinedDir` are *not* in the store, yet. As part of
running `eval.full` on a new commit they will be created. `eval.full` is
linked up, so that the values passed around there will actually be
derivations, which might not be realized, yet.

Checking whether the input is a path or not fixes this for both cases.

(cherry picked from commit b9d4098)
@nixpkgs-ci nixpkgs-ci bot mentioned this pull request Sep 11, 2025
2 tasks
@philiptaron philiptaron merged commit 951df03 into release-25.05 Sep 11, 2025
26 of 27 checks passed
@philiptaron philiptaron deleted the backport-442035-to-release-25.05 branch September 11, 2025 19:25
@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 Sep 11, 2025
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