Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: --print-all-dependencies should ignore unknown-deriver #76

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

rsrohitsingh682
Copy link
Contributor

In nixci build while print-all-dependencies option sometimes nix-store query returns unknown-deriver and the returned deriver is not guaranteed to exist in the local store. Hence we should use --valid-derivers instead to obtain valid paths only.

Reference: https://github.com/NixOS/nix/blob/142e566adbce587a5ed97d1648a26352f0608ec5/doc/manual/src/command-ref/nix-store/query.md?plain=1#L99C3-L99C61

Copy link
Owner

@srid srid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assume this fixes the original issue.

@srid
Copy link
Owner

srid commented Jul 10, 2024

@rsrohitsingh682 CI fails

@srid srid changed the title fix for unknown-deriver in nixci build fix: --print-all-dependencies should ignore unknown-deriver Jul 10, 2024
@srid srid merged commit d26bab1 into srid:master Jul 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants