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

check the store for input before failing (hopefully fix #6700) #7390

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

Radvendii
Copy link
Contributor

@Radvendii Radvendii commented Dec 2, 2022

This is a fix very similar to #7283 but in a slightly different place, which will hopefully address #6700. I can't reproduce the issue, so I'm not sure it fixes it.

The idea is that inputDrvOutputs is statefully constructed and is somehow not getting set properly. Rather than track down that bug (which would also be good to do at some point), this piece of duct-tape just checks the actual store as a backup when inputDrvOutputs doesn't have it.

Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Let's hope it will indeed fix #6383

EDIT: I assume you meant #6700, not #6383 ? Can you fix the commit message to point to that?

@Radvendii Radvendii changed the title check the store for input before failing (hopefully fix #6383) check the store for input before failing (hopefully fix #6700) Dec 5, 2022
@Radvendii
Copy link
Contributor Author

Good catch @thufschmitt . Fixed it in the commit message and the PR title but not the branch name. I don't think that will show up anywhere once merged, right?

@thufschmitt
Copy link
Member

Good catch @thufschmitt . Fixed it in the commit message and the PR title but not the branch name. I don't think that will show up anywhere once merged, right?

It'll probably still show-up somewhere, but not as visibly as the rest, so it should be good 👍

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-41/23848/1

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.

3 participants