Skip to content

C API: Add libflake-c#11940

Merged
roberth merged 6 commits intomasterfrom
c-api-libflake
Nov 25, 2024
Merged

C API: Add libflake-c#11940
roberth merged 6 commits intomasterfrom
c-api-libflake

Conversation

@roberth
Copy link
Member

@roberth roberth commented Nov 23, 2024

Motivation

Nix 2.24's C API is currently incapable of providing flake functionality, because libflake wasn't wrapped before #9063

This PR provides a very basic libflake that restores builtins.getFlake. (a feature compensating for a regression)

Context


Add 👍 to pull requests you find important.

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

@roberth roberth added feature Feature request or proposal regression Something doesn't work anymore c api Nix as a C library with a stable interface backport 2.24-maintenance labels Nov 23, 2024
@roberth roberth requested a review from edolstra as a code owner November 23, 2024 10:56
@roberth roberth force-pushed the c-api-libflake branch 2 times, most recently from 56a66f6 to bdf0c8b Compare November 24, 2024 09:43
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Nov 24, 2024
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 feature Feature request or proposal regression Something doesn't work anymore with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getFlake not available through C API

3 participants