exportReferencesGraph: Handle heterogeneous arrays#14189
Conversation
|
Any idea when this was broken? |
|
Since 2.29. There was a partial fix before (#13256) but it didn't handle the case of nested arrays. |
|
It was pretty frustrating to bisect this since it kept pointing to that same area we fixed last time 😅 Luckily, Eelco was able to peek inside the unhappy-value and figure out what was wrong before I lost any more hair. (Downstream ref: DeterminateSystems#221) |
68fca5c to
87c6b02
Compare
87c6b02 to
e60ff9c
Compare
This barfed with error: [json.exception.type_error.302] type must be string, but is array on `nix build github:malt3/bazel-env#bazel-env` because it has a `exportReferencesGraph` with a value like `["string",...["string"]]`.
e60ff9c to
94f410b
Compare
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.29-maintenance
git worktree add -d .worktree/backport-14189-to-2.29-maintenance origin/2.29-maintenance
cd .worktree/backport-14189-to-2.29-maintenance
git switch --create backport-14189-to-2.29-maintenance
git cherry-pick -x 94f410b628ede2ecec6ed06cbb0f62e1f9d9e8cf |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.30-maintenance
git worktree add -d .worktree/backport-14189-to-2.30-maintenance origin/2.30-maintenance
cd .worktree/backport-14189-to-2.30-maintenance
git switch --create backport-14189-to-2.30-maintenance
git cherry-pick -x 94f410b628ede2ecec6ed06cbb0f62e1f9d9e8cf |
|
Successfully created backport PR for |
|
Successfully created backport PR for |
Backport changes from upstream NixOS#14189
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Motivation
This barfed with
on
nix build github:malt3/bazel-env#bazel-envbecause it has aexportReferencesGraphwith a value like["string",...["string"]].Context
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.