[Tracking issue] Extracting Flakes out of core #1144

Open
opened 2026-03-01 11:44:02 +00:00 by raito · 0 comments
Owner

As we mentioned in couple of announcements, the Lix core team plans to extract Flakes out of the core of Lix.

To do so, we plan to introduce all the relevant hooks and functions to allow plugins to replicate a Flake-like functionality, this means:

  • being able to interfere with the search path logic to parse things like NIX_PATH=flake:...
  • being able to register yourself as some syntax element for nix3 CLI (installable registry)
  • being able to extend CLI options after a plugin is loaded

libfetchers are out of scope for this extraction.

The installable registry concept has been successfully experimented in https://gerrit.lix.systems/c/lix/+/4957.
The work to extract the search path is also fairly easy (in some branch somewhere).

Designing hooks to extend the CLI from plugin has not been done yet and this is the next step.

As we mentioned in couple of announcements, the Lix core team plans to extract Flakes out of the core of Lix. To do so, we plan to introduce all the relevant hooks and functions to allow plugins to replicate a Flake-like functionality, this means: - being able to interfere with the search path logic to parse things like `NIX_PATH=flake:...` - being able to register yourself as some syntax element for nix3 CLI (installable registry) - being able to extend CLI options after a plugin is loaded libfetchers are out of scope for this extraction. The installable registry concept has been successfully experimented in https://gerrit.lix.systems/c/lix/+/4957. The work to extract the search path is also fairly easy (in some branch somewhere). Designing hooks to extend the CLI from plugin has not been done yet and this is the next step.
raito added this to the 2.96 milestone 2026-03-01 11:44:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1144
No description provided.