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

build(lib{expr,store,util}-test-support): depend on -c libraries #11942

Conversation

xokdvium
Copy link
Contributor

Motivation

Since lib{expr,store,util}-test-support subprojects define nix_api_* helpers for testing nix c bindings, they need to publicly depend on -c counterparts. This makes their headers self-sufficient and does not rely on the -tests to add necessary dependencies.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@xokdvium xokdvium requested a review from edolstra as a code owner November 23, 2024 20:15
@xokdvium xokdvium force-pushed the dev/make-test-support-headers-self-sufficient branch 2 times, most recently from 14d7a17 to eb07c81 Compare November 23, 2024 21:35
@Mic92
Copy link
Member

Mic92 commented Nov 24, 2024

@mergify rebase

Copy link
Contributor

mergify bot commented Nov 24, 2024

rebase

✅ Branch has been successfully rebased

Since lib{expr,store,util}-test-support subprojects define nix_api_* helpers
for testing nix c bindings, they need to publicly depend on -c counterparts.
This makes their headers self-sufficient and does not rely on the -tests to add
necessary dependencies.
@Mic92 Mic92 force-pushed the dev/make-test-support-headers-self-sufficient branch from eb07c81 to fbffd47 Compare November 24, 2024 09:53
@Ericson2314 Ericson2314 merged commit 66f0132 into NixOS:master Nov 24, 2024
11 checks passed
@Ericson2314
Copy link
Member

Thanks!

@xokdvium xokdvium deleted the dev/make-test-support-headers-self-sufficient branch November 24, 2024 16:54
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