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

nixenv: describe what went wrong when io fails #447

Merged
merged 2 commits into from Apr 3, 2020

Conversation

cole-h
Copy link
Member

@cole-h cole-h commented Apr 3, 2020

Instead of just propagating a raw std::io::Error, wrap that in our own
Error enum to provide more context for what actually went wrong.


Should provide more information for situations like #446. Underlying cause still needs to be investigated (hopefully made easier by this change).

Instead of just propagating a raw `std::io::Error`, wrap that in our own
`Error` enum to provide more context for what actually went wrong.
ofborg/src/nixenv.rs Outdated Show resolved Hide resolved
@grahamc grahamc merged commit 8598811 into NixOS:released Apr 3, 2020
@cole-h cole-h deleted the nix-env-describe branch April 3, 2020 18:07
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.

None yet

2 participants