-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
libstore-c: add nix_store_get_fs_closure #14025 with tests and realise error fix #14254
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
libstore-c: add nix_store_get_fs_closure #14025 with tests and realise error fix #14254
Conversation
|
That test failure on macOS was a bit of a rabbit hole due to the pre-existing broken error handling in |
…uterGuy/feat/expose-computefsclosure
| // The closure should contain the derivation and its outputs | ||
| ASSERT_GE(closure_paths.size(), 2); | ||
|
|
||
| // Verify the output path is in the closure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be good to also verify the paths it returns are the paths we expected to see? I'm not sure if the store paths get returned in a reproducible order. If it does, then we probably should add that check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 6036aaf
Motivation
Can't push to PR branch.
Context
Includes
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.