[Backport release-25.05] applyPatches: passthru outputHashAlog#414870
Merged
philiptaron merged 1 commit intorelease-25.05from Jun 7, 2025
Merged
[Backport release-25.05] applyPatches: passthru outputHashAlog#414870philiptaron merged 1 commit intorelease-25.05from
philiptaron merged 1 commit intorelease-25.05from
Conversation
Fixes evaluation of the find-tarballs.nix script used in the tarballs
mirror pipeline.
```
$ nix-instantiate --eval --json --strict maintainers/scripts/find-tarballs.nix --arg expr 'import maintainers/scripts/all-tarballs.nix' --show-trace
[...]
error:
… while calling anonymous lambda
at maintainers/scripts/find-tarballs.nix:3:1:
2|
3| {
| ^
4| expr,
… while evaluating uniqueFiles
at maintainers/scripts/find-tarballs.nix:105:1:
104| in
105| uniqueFiles
| ^
106|
… while calling the 'map' builtin
at maintainers/scripts/find-tarballs.nix:26:17:
25|
26| uniqueFiles = map (x: x.file) (genericClosure {
| ^
27| startSet = map (file: {
… while calling the 'genericClosure' builtin
at maintainers/scripts/find-tarballs.nix:26:34:
25|
26| uniqueFiles = map (x: x.file) (genericClosure {
| ^
27| startSet = map (file: {
… while evaluating type
at maintainers/scripts/find-tarballs.nix:28:28:
27| startSet = map (file: {
28| key = with file; (if type == null then "" else type + "+") + hash;
| ^
29| inherit file;
error: attribute 'outputHashAlgo' missing
at maintainers/scripts/find-tarballs.nix:38:16:
37| isPatch = (drv ? postFetch && drv.postFetch != "");
38| type = drv.outputHashAlgo;
| ^
39| name = drv.name;
```
(cherry picked from commit f2aff81)
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bot-based backport to
release-25.05, triggered by a label in #414869.