Skip to content

Add flake support#49

Open
mazunki wants to merge 2 commits intoincludeos:masterfrom
mazunki:flakify
Open

Add flake support#49
mazunki wants to merge 2 commits intoincludeos:masterfrom
mazunki:flakify

Conversation

@mazunki
Copy link
Contributor

@mazunki mazunki commented Mar 24, 2026

This PR adds flake support to vmrunner, which will allow includeos/IncludeOS to implement their own flake natively.

Because boot itself is reliant on the chainloader being on path, and we can't know this until after a unikernel is built, we provide a mkBoot function which exposes the INCLUDEOS_CHAINLOADER variable to vmrunner. With this, we can expose boot-unikernel as a chainload-ready booter from the unikernel's side.

This doesn't change anything for non-flake users.

Minor:

  • add /result to gitignore: this is the default output directory of nix.
  • add missing runtime dependencies to default.nix (with flakes, these are actually necessary).

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.

1 participant