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

feat: Introduce Flake for development and builds #148

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shymega
Copy link

@shymega shymega commented Sep 11, 2024

This PR introduces a Nix flake, allowing for InfiniSim to be built as a Flake, including a FHS development environment.

We also introduce flake-compat, allowing for non-Flake Nix mahcines to use the project as-is, both for building (default.nix), and development (shell.nix).

Additionally, we introduce .envrc, meaning that with direnv, the Nix Flake is activated automatically.

This PR introduces a Nix flake, allowing for InfiniSim to be built as a
Flake, including a FHS development environment.

We also introduce `flake-compat`, allowing for non-Flake Nix mahcines to
use the project as-is, both for building (`default.nix`), and
development (`shell.nix`).

Additionally, we introduce `.envrc`, meaning that with `direnv`, the Nix
Flake is activated automatically.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
@shymega
Copy link
Author

shymega commented Sep 11, 2024

Marked as a draft until we bump the InfiniTime submodule to v1.14.1.

This will allow the new Python lv_img_conv executable to be found.

Without that, this Flake cannot build successfully.

See: #149.

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