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

avoid nix log warning #335

Merged
merged 1 commit into from
Jul 4, 2023
Merged

avoid nix log warning #335

merged 1 commit into from
Jul 4, 2023

Conversation

figsoda
Copy link
Collaborator

@figsoda figsoda commented Jun 12, 2023

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '...^*'

@@ -67,7 +67,7 @@ def write_error_logs(attrs: List[Attr], directory: Path) -> None:
symlink_source.unlink()
symlink_source.symlink_to(attr.path)

for path in [attr.drv_path, attr.path]:
for path in [f"{attr.drv_path}^*", attr.path]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens if people now run the program on nixos 23.05?

Copy link
Owner

Choose a reason for hiding this comment

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

If that was an issue we could probably try both?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

works for me with nix 2.13.3 (nixVersions.nix_2_13 on nixpkgs unstable)

Copy link
Owner

Choose a reason for hiding this comment

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

Just to confirm you also had the nix-daemon running on this version?

Copy link
Collaborator Author

@figsoda figsoda Jun 30, 2023

Choose a reason for hiding this comment

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

oops, I didn't, I will do a check with nix-daemon running nix 2.13

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can confirm the nix log command still works after switching to nix 2.13 (including the daemon) on my machine

@Mic92
Copy link
Owner

Mic92 commented Jul 4, 2023

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Jul 4, 2023

queue

❌ Pull request must be rebased manually

The pull request can't be rebased without conflict and must be rebased manually

@Mic92
Copy link
Owner

Mic92 commented Jul 4, 2023

@mergify rebase

```
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '...^*'
```
@mergify
Copy link
Contributor

mergify bot commented Jul 4, 2023

rebase

✅ Branch has been successfully rebased

@Mic92
Copy link
Owner

Mic92 commented Jul 4, 2023

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Jul 4, 2023

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 720dea6

@mergify mergify bot merged commit 720dea6 into Mic92:master Jul 4, 2023
@figsoda figsoda deleted the log branch July 4, 2023 20:08
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