Skip to content

Conversation

@roberth
Copy link
Member

@roberth roberth commented Oct 15, 2025

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.

@roberth roberth requested a review from edolstra as a code owner October 15, 2025 11:28
@github-actions github-actions bot added the c api Nix as a C library with a stable interface label Oct 15, 2025
@roberth roberth changed the title Upstream ross computer guy/feat/expose computefsclosure libstore-c: add nix_store_get_fs_closure #14025 with tests Oct 15, 2025
@roberth roberth changed the title libstore-c: add nix_store_get_fs_closure #14025 with tests libstore-c: add nix_store_get_fs_closure #14025 with tests and realise error fix Oct 15, 2025
@roberth
Copy link
Member Author

roberth commented Oct 15, 2025

That test failure on macOS was a bit of a rabbit hole due to the pre-existing broken error handling in nix_store_realise.
All good now. now a merge conflict... Done?

// The closure should contain the derivation and its outputs
ASSERT_GE(closure_paths.size(), 2);

// Verify the output path is in the closure
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in 6036aaf

@Ericson2314 Ericson2314 added this pull request to the merge queue Oct 21, 2025
Merged via the queue into NixOS:master with commit 6ca2efc Oct 21, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c api Nix as a C library with a stable interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants