applyPatches: passthru outputHashAlog#414869
Merged
philiptaron merged 1 commit intoNixOS:masterfrom Jun 7, 2025
Merged
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;
```
iakat
approved these changes
Jun 7, 2025
Contributor
|
Successfully created backport PR for |
1 task
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.
Fixes evaluation of the find-tarballs.nix script used in the tarballs mirror pipeline.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.